http://llvm.org/bugs/show_bug.cgi?id=18362
Bug ID: 18362
Summary: clang++ segfaults when parsing c++11 syntax
Product: clang
Version: 3.3
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 11805
--> http://llvm.org/bugs/attachment.cgi?id=11805&action=edit
Processed source
clang++ segfaults when parsing the following c++11 syntax:
struct fun {
fun &operator=() = delete;
};
int main()
{
return 0;
}
The above code is not correct c++11, because fun::operator= needs one argument,
but the code supplies none. This seems to cause the parser to panic.
Stack backtrace, processed source and run script are appended in this bug
report.
--
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