Revert "Reapply "[llvm-jitlink] Use concurrent linking by default." with fixes. ...
[llvm-project.git] / clang / test / CodeGen / 2007-05-15-PaddingElement.c
blob5aa4f2e091cefe361c1485c16b6634e45c4d61a0
1 // PR 1419
3 // RUN: %clang_cc1 -O2 %s -emit-llvm -o - | grep "ret i32 1"
4 struct A {
5 short x;
6 long long :0;
7 };
9 struct B {
10 char a;
11 char b;
12 unsigned char i;
15 union X { struct A a; struct B b; };
17 int check(void) {
18 union X x, y;
20 y.b.i = 0xff;
21 x = y;
22 return (x.b.i == 0xff);