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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2007-04-05-UnPackedStruct.c
blob
9b76ff73ec9b9f4a38a7ffc997cdb9628abadd1a
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
4
enum
{
5
tA
=
0
,
6
tB
=
1
7
};
8
9
struct
MyStruct
{
10
unsigned long
A
;
11
void
*
B
;
12
};
13
14
void
bar
(
void
){
15
struct
MyStruct MS
= {
tB
,
0
};
16
}