Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / CodeGenCXX / 2009-10-27-crash.cpp
blob28dbce7877ec121567313c99fa7e73a0617fdc13
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
3 typedef struct
5 unsigned short a : 1;
6 unsigned short b : 2;
7 unsigned short c : 1;
8 unsigned short d : 1;
9 unsigned short e : 1;
10 unsigned short f : 1;
11 unsigned short g : 2;
12 unsigned short : 7;
13 union
15 struct
17 unsigned char h : 1;
18 unsigned char i : 1;
19 unsigned char j : 1;
20 unsigned char : 5;
22 struct
24 unsigned char k : 3;
25 unsigned char : 5;
28 unsigned char : 8;
29 } tt;
31 typedef struct
33 unsigned char s;
34 tt t;
35 unsigned int u;
36 } ttt;
38 ttt X = {
40 { 0 },
41 55,