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

           Summary: Missed Constraint 6.10.3p3 (C99)
           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]


#define foo`bar

should be rejected with -pedantic-errors, by definition, not just diagnosed.

Rules are different in C90,

http://www.open-std.org/jtc1/sc22/wg14/www/docs/tc1.htm

but it turns out it is a constraint violation there too.


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