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
/
2003-10-02-UnionLValueError.c
blob
180eb1080be9f2070a84df1856a365e97b637978
1
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
2
3
int
sprintf
(
char
*
restrict str
,
const char
*
restrict format
, ...);
4
union
U
{
5
int
i
[
8
];
6
char
s
[
80
];
7
};
8
9
void
format_message
(
char
*
buffer
,
union
U
*
u
) {
10
sprintf
(
buffer
,
u
->
s
);
11
}