http://llvm.org/bugs/show_bug.cgi?id=9989
Summary: Wrong point of declaration for static data member
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
I cannot see anything in the FDIS that makes the following invalid:
struct A {
static int const B = sizeof B;
};
The PoD should should be immediately after "B" and before the initializer, as
far as I can see, so this is valid code.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs