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

             Bug #: 11337
           Summary: Type of bitfield
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


The front-end should not accept bit field type:

struct S { unsigned int x : 2; } s;
typedef typeof(s.x) INT2;

INT2 foo(INT2 x) 
{    
  return x + 1;
}

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