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

          Issue ID: 23701
           Summary: compilable/test23214.c:3:26: error: expected ‘=’, ‘,’,
                    ‘;’, ‘asm’ or ‘__attribute__’ before ‘uintptr_t’
           Product: D
           Version: D2
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: ibuc...@gdcproject.org

When compiling the test with `gcc -std=c11 -fsyntax-only`

compilable/test23214.c:3:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘uintptr_t’
    3 | typedef unsigned __int64 uintptr_t;
      |                          ^~~~~~~~~


Test:
```
// https://issues.dlang.org/show_bug.cgi?id=23214

typedef unsigned __int64 uintptr_t;
```

--

Reply via email to