Issue 183480
Summary [Clang] rejects valid attribute-specifier in elaborated-type-specifier
Labels clang
Assignees
Reporter YuchangSu
    The code uses an attribute-specifier-seq after a class-key in an elaborated type in a type-alias declaration. 
GCC accepts it, but Clang rejects it.

Code:
```
using X1 = class [ [ ] ] X0 ;
```

See Compiler Explorer: [https://godbolt.org/z/EdfTTe6MG](https://godbolt.org/z/EdfTTe6MG)

The test case was generated by a fuzzer.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to