1 // RUN: %clang_cc1 -emit-llvm-only -triple armv7-apple-darwin -fdump-record-layouts %s 2>/dev/null \
9 unsigned long long x
: 32;
10 unsigned long long y
: 32;
12 // CHECK:*** Dumping AST Record Layout
13 // CHECK-NEXT: 0 | union A
14 // CHECK-NEXT: 0:0-31 | unsigned long long x
15 // CHECK-NEXT: 0:0-31 | unsigned long long y
16 // CHECK-NEXT: | [sizeof=8, align=1]
19 __attribute__((aligned(4)))
20 unsigned long long x
: 32;
21 unsigned long long y
: 32;
23 // CHECK:*** Dumping AST Record Layout
24 // CHECK-NEXT: 0 | union B
25 // CHECK-NEXT: 0:0-31 | unsigned long long x
26 // CHECK-NEXT: 0:0-31 | unsigned long long y
27 // CHECK-NEXT: | [sizeof=8, align=1]
30 unsigned long long : 0;
33 // CHECK:*** Dumping AST Record Layout
34 // CHECK-NEXT: 0 | union C
35 // CHECK-NEXT: 0:- | unsigned long long
36 // CHECK-NEXT: 0:0-7 | unsigned short y
37 // CHECK-NEXT: | [sizeof=2, align=1]
40 unsigned long long : 0;
43 // CHECK:*** Dumping AST Record Layout
44 // CHECK-NEXT: 0 | union D
45 // CHECK-NEXT: 0:- | unsigned long long
46 // CHECK-NEXT: 0:- | unsigned short
47 // CHECK-NEXT: | [sizeof=1, align=1]