https://llvm.org/bugs/show_bug.cgi?id=23898
Bug ID: 23898
Summary: (null) in diagnostic
Product: clang
Version: 3.6
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
void f() {
union {
int a;
};
class C {
void g() {
a = 5;
}
};
}
clang says:
error: reference to local variable (null) declared in enclosing function 'f'
a = 5;
^
note: (null) declared here
union {
^
--
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