[LLVMbugs] [Bug 24210] New: Well-formed program with typedef declaration with no declarators gives error message.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jul 22 04:44:12 PDT 2015
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: unassignedclangbugs at nondot.org
Reporter: anders.granlund.0 at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150722/03de1b25/attachment.html>
More information about the llvm-bugs
mailing list