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