[LLVMbugs] [Bug 2416] New: acceptance of invalid enum syntax
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Jun 5 02:56:38 PDT 2008
http://llvm.org/bugs/show_bug.cgi?id=2416
Summary: acceptance of invalid enum syntax
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Semantic Analyzer
AssignedTo: unassignedbugs at nondot.org
ReportedBy: csaba.hruska at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=1711)
--> (http://llvm.org/bugs/attachment.cgi?id=1711)
buggy source file
buggy source code(enum.c):
enum en {};
error:
ccc -c enum.c
enum.c
clang -emit-llvm-bc -x c -o enum.o enum.c
proper:
gcc -c enum.c
enum.c:1: error: expected identifier before ‘}’ token
clang svn: At revision 51993.
--
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