[LLVMbugs] [Bug 3939] New: CPP grammar violation not diagnosed

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Apr 4 18:51:49 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3939

           Summary: CPP grammar violation not diagnosed
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: neil at daikokuya.co.uk
                CC: llvmbugs at cs.uiuc.edu


The following violates the CPP grammar with #elif.  (GCC was only recently
fixed to reject this).

extern int x;
#if 1
#elif
#endif


-- 
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