[LLVMbugs] [Bug 6208] New: ; after struct definition
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Tue Feb 2 00:46:53 PST 2010
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: unassignedclangbugs at nondot.org
ReportedBy: rdivacky at freebsd.org
CC: clattner at apple.com, llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list