http://llvm.org/bugs/show_bug.cgi?id=3430
Summary: top-level 'struct x;' decl shadows other non-top level
'struct s {...}' decls
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
'clang -fsyntax-only' does eat the following:
struct s {
struct st {
int v;
} *ts;
};
// it works if next line is removed
struct st;
int foo() {
struct st *f;
return f->v + f[0].v;
}
--
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