http://llvm.org/bugs/show_bug.cgi?id=12044
Bug #: 12044
Summary: clang does't enforce current definition of a "literal
type" regarding references
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++0x
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
struct BeingDefined { virtual ~BeingDefined(); };
BeingDefined beingdefined;
constexpr BeingDefined& t = beingdefined;
[basic.types]p10 says this is illegal, but clang accepts it.
The fix is straightforward, but it affects a lot of tests (specifically, ones
involving std::type_info), so I'd like to check whether my assessment is
correct.
--
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