[Issue 23711] compilable/testcstuff1.c:63:1: error: invalid use of 'restrict'

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 15 16:44:33 UTC 2023


https://issues.dlang.org/show_bug.cgi?id=23711

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
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 test2()
{
    int (* const volatile restrict fp2)(void);
    restrict int ri;
}
```

--


More information about the Digitalmars-d-bugs mailing list