https://llvm.org/bugs/show_bug.cgi?id=23942
Bug ID: 23942
Summary: Some invalid pure-specifiers incorrectly accepted
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Clang accepts without any diagnostic
struct Meow {
virtual void purr() = 0x0;
virtual void hiss() = 00;
};
Per the grammar in [class.mem], the only valid pure-specifier is `= 0`.
--
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