[LLVMbugs] [Bug 20055] New: Clang crashes on invalid default argument
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 16 13:01:39 PDT 2014
http://llvm.org/bugs/show_bug.cgi?id=20055
Bug ID: 20055
Summary: Clang crashes on invalid default argument
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: rtrieu at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Two lines of invalid code causes Clang to crash.
This invalid code crashes Clang:
int bar(int x = 0, int y = FOUR);
int foo = bar(0);
Clang does not crash on this code:
int bar(int x = 0, int y = FOUR);
int foo = bar(0, 0);
Also no crashing here:
int bar(int y = FOUR);
int foo = bar();
--
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/20140616/c7682622/attachment.html>
More information about the llvm-bugs
mailing list