https://issues.dlang.org/show_bug.cgi?id=23711
Issue 23711 depends on issue 23689, which changed state.
Issue 23689 Summary: ImportC: C tests in the testsuite are not valid C
https://issues.dlang.org/show_bug.cgi?id=23689
What|Removed |Added
|--- |FIXED
--- Comment #4 from Dlang Bot ---
dlang/dmd pull request #14898 "fix Issue 23711 - compilable/testcstuff1.c:63:1:
error: invalid use o…" was merged into master:
- f4a7bf192ee230fcf352fa8330ab271fd7f1eeec by Walter Bright:
fix Issue 23711 - compilable/testcstuff1.c:6
---
@WalterBright created dlang/dmd pull request #14898 "fix Issue 23711 -
compilable/testcstuff1.c:63:1: error: invalid use o…" fixing this issue:
- fix Issue 23711 - compilable/testcstuff1.c:63:1: error: invalid use of
restrict
https://github.com/dlang/dmd/pull/14898
--
https://issues.dlang.org/show_bug.cgi?id=23711
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
https://issues.dlang.org/show_bug.cgi?id=23711
--- Comment #2 from Iain Buclaw ---
And another
compilable/testcstuff1.c:278:5: error: invalid use of ‘restrict’
278 | restrict int ri;
| ^~~~
>From the same function, bundling both this and the previous together.
```
void
https://issues.dlang.org/show_bug.cgi?id=23711
--- Comment #1 from Iain Buclaw ---
Another test that fails to compile.
compilable/testcstuff1.c:260:5: error: invalid use of ‘restrict’
260 | int (* const volatile restrict fp2)(void);
| ^~~
```
int (* const volatile restrict
https://issues.dlang.org/show_bug.cgi?id=23711
Iain Buclaw changed:
What|Removed |Added
Keywords||accepts-invalid, ImportC
See Also|