r220271 - Test case B is updated to work for 32-bit and 64-bit platforms

Evgeny Astigeevich evgeny.astigeevich at arm.com
Tue Oct 21 01:01:38 PDT 2014


Author: eastig
Date: Tue Oct 21 03:01:37 2014
New Revision: 220271

URL: http://llvm.org/viewvc/llvm-project?rev=220271&view=rev
Log:
Test case B is updated to work for 32-bit and 64-bit platforms

Modified:
    cfe/trunk/test/Layout/itanium-union-bitfield.cpp

Modified: cfe/trunk/test/Layout/itanium-union-bitfield.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Layout/itanium-union-bitfield.cpp?rev=220271&r1=220270&r2=220271&view=diff
==============================================================================
--- cfe/trunk/test/Layout/itanium-union-bitfield.cpp (original)
+++ cfe/trunk/test/Layout/itanium-union-bitfield.cpp Tue Oct 21 03:01:37 2014
@@ -9,7 +9,7 @@ union A {
 A::A() {}
 
 union B {
-  int f1: 69;
+  char f1: 35;
   B();
 };
 
@@ -24,6 +24,6 @@ B::B() {}
 // CHECK:*** Dumping AST Record Layout
 // CHECK-NEXT:   0 | union B
 // CHECK-NEXT:   0 |   int f1
-// CHECK-NEXT:     | [{{sizeof=16, dsize=9, align=8|sizeof=12, dsize=9, align=4}}
-// CHECK-NEXT:     |  {{nvsize=9, nvalign=8|nvsize=9, nvalign=4}}]
+// CHECK-NEXT:     | [sizeof=8, dsize=5, align=4
+// CHECK-NEXT:     |  nvsize=5, nvalign=4]
 





More information about the cfe-commits mailing list