[LLVMbugs] [Bug 3062] New: ({}) should be rejected at file scope.

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Nov 12 17:08:13 PST 2008


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

           Summary: ({}) should be rejected at file scope.
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


We should never ever ever accept
--
int x[({10;})];
--
but we do. gcc rejects ({}) outside functions.


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