http://llvm.org/bugs/show_bug.cgi?id=6208
Summary: ; after struct definition
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
pes delta$ cat 000.c
enum lapic_clock {
LAPIC_CLOCK_NONE,
};
struct lvt {
} static lapics[0xfe + 1];
pes delta$ gcc -fsyntax-only 000.c && echo yes
yes
pes delta$ clang -fsyntax-only 000.c
000.c:5:2: error: expected ';' after struct
} static lapics[0xfe + 1];
^
;
000.c:5:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
} static lapics[0xfe + 1];
~~~~~~ ^
2 diagnostics generated.
pes delta$
--
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