xref: /llvm-project/clang/test/CodeGenCXX/bitfield-layout.cpp (revision aad5fa85d06989ee3270e2012245f481b5de19e3)
1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
2 
3 // CHECK: = type { i32, [4 x i8] }
4 union Test1 {
5   int a;
6   int b: 39;
7 };
8 
9 Test1 t1;
10