bitfield-layout.cpp revision d62328e6a0fa933e3a5daaf68e4964031e6c5c5e
1// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s 2 3// CHECK: %union.Test1 = type { i32, [4 x i8] } 4union Test1 { 5 int a; 6 int b: 39; 7} t1; 8 9// CHECK: %union.Test2 = type { i8 } 10union Test2 { 11 int : 6; 12} t2; 13 14// CHECK: %union.Test3 = type { [2 x i8] } 15union Test3 { 16 int : 9; 17} t3; 18