[LLVMbugs] [Bug 3177] New: "__extension__ union" not supported

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Dec 7 04:57:22 PST 2008


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

           Summary: "__extension__ union" not supported
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: compile-fail
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: nunoplopes at sapo.pt
                CC: llvmbugs at cs.uiuc.edu


typedef union
{
  __extension__ union {
    int a;
    float b;
  };
} x;


produces the following error:

a.c:3:3: error: expected unqualified-id
  __extension__ union {
  ^


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