repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
2009-10-27-crash.cpp
blob
28dbce7877ec121567313c99fa7e73a0617fdc13
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
typedef
struct
4
{
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
14
{
15
struct
16
{
17
unsigned char
h
:
1
;
18
unsigned char
i
:
1
;
19
unsigned char
j
:
1
;
20
unsigned char
:
5
;
21
};
22
struct
23
{
24
unsigned char
k
:
3
;
25
unsigned char
:
5
;
26
};
27
};
28
unsigned char
:
8
;
29
}
tt
;
30
31
typedef
struct
32
{
33
unsigned char
s
;
34
tt t
;
35
unsigned int
u
;
36
}
ttt
;
37
38
ttt X
= {
39
4
,
40
{
0
},
41
55
,
42
};