[LLVMbugs] [Bug 8019] New: clang c++ allows defining struct with global scope inside class scope
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Aug 29 12:12:19 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8019
Summary: clang c++ allows defining struct with global scope
inside class scope
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: accepts-invalid
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Testcase:
struct x;
struct y { struct ::x { int x; }; };
I don't know the C++ standard reference off the top of my head, but this is
clearly ridiculous.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list