xref: /llvm-project/clang/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c (revision 627746581b8fde4143533937130f420bbbdf9ddf)
1 // RUN: %clang_cc1 -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s
2 
3 struct et7 {
4   float lv7[0];
5   char mv7:6;
6 } yv7 = {
7   {},
8   52,
9 };
10 
11 // CHECK: @yv7 ={{.*}} global { [0 x float], i8, [3 x i8] } { [0 x float] zeroinitializer, i8 52, [3 x i8] zeroinitializer }
12