summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c
blob: 4aa28f8eb484a5bb68b3fc2b613343daac05ff22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: clang-cc -triple=i686-apple-darwin9 -emit-llvm -o - %s | FileCheck %s

struct et7 {
  float lv7[0];
  char mv7:6;
} yv7 = {
  {}, 
  52, 
};

// CHECK: @yv7 = global 
// CHECK: i8 52,
OpenPOWER on IntegriCloud