From: Evgeny Astigeevich Date: Tue, 21 Oct 2014 08:01:37 +0000 (+0000) Subject: Test case B is updated to work for 32-bit and 64-bit platforms X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3fab13856ed0821e308e02ca60aa0f72cb93330;p=clang Test case B is updated to work for 32-bit and 64-bit platforms git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@220271 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Layout/itanium-union-bitfield.cpp b/test/Layout/itanium-union-bitfield.cpp index 844002a432..4b9becdd35 100644 --- a/test/Layout/itanium-union-bitfield.cpp +++ b/test/Layout/itanium-union-bitfield.cpp @@ -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]