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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2009-04-28-UnionArrayCrash.c
blob
4296b918cbcc8983bd1d6a1e1c22406378829d77
1
// RUN: %clang_cc1 -emit-llvm %s -o -
2
// PR4082
3
union
U
{
4
int
I
;
5
double
F
;
6
};
7
8
union
U arr
[] = { { .
I
=
4
}, { .
F
=
123
.} };
9
union
U
*
P
= &
arr
[
0
];
10
11