]> granicus.if.org Git - clang/commitdiff
Fix invalid bit-field.
authorAnders Carlsson <andersca@mac.com>
Sat, 6 Dec 2008 20:32:39 +0000 (20:32 +0000)
committerAnders Carlsson <andersca@mac.com>
Sat, 6 Dec 2008 20:32:39 +0000 (20:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60627 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/union.c

index 96287ea0a6d0fd3f0ba3445ee00b6361441fb389..9d82f4fd9b6f2b88ac61fdbd345713f7b6fc25cd 100644 (file)
@@ -28,7 +28,7 @@ int f3(value v) {
 }
 
 enum E9 { one, two };
-union S65 { enum E9 a:62; } ; union S65 s65;
+union S65 { enum E9 a; } ; union S65 s65;
 void fS65() { enum E9 e = s65.a; } 
 
 typedef union{