[LLVMbugs] [Bug 9989] New: Wrong point of declaration for static data member
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun May 22 23:15:31 PDT 2011
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: unassignedclangbugs at nondot.org
ReportedBy: schaub.johannes at googlemail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
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.
More information about the llvm-bugs
mailing list