http://llvm.org/bugs/show_bug.cgi?id=6536
Summary: C++ scope checking too aggressive with struct with
trivial constructor
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Blocks: 5511
Testcase:
struct A {};
void a() { goto out; A x; out: return; }
gcc accepts this, clang does not; I'm pretty sure it's valid.
--
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