https://llvm.org/bugs/show_bug.cgi?id=24210
Bug ID: 24210
Summary: Well-formed program with typedef declaration with no
declarators gives error message.
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
The following program is well-formed:
typedef class A;
int main() {}
When compiling with -w and -pedantic-errors, Clang incorrectly emits the
following error message for it:
error: typedef requires a name
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs