[LLVMbugs] [Bug 23942] New: Some invalid pure-specifiers incorrectly accepted
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jun 25 02:11:08 PDT 2015
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: unassignedclangbugs at nondot.org
Reporter: rs2740 at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150625/3ffd0f63/attachment.html>
More information about the llvm-bugs
mailing list