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

           Summary: Conditional operator issues
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: NetBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: preprocessor
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [email protected]


The following is not diagnosed (excess tokens):

#if 1 ? 2 : 1, 3
#endif

"/tmp/bug.c", line 1: warning: excess tokens in preprocessing directive
#if 1 ? 2 : 1, 3
             ^

The following is diagnosed:

#if 1 ? 0: 1 ? 1/0: 1/0
#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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to