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-11-InlineAsmUnion.c
blob
da4a7b3ca5b191830ce5bcc72130ab405ec74222
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
union
U
{
int
x
;
float
p
; };
4
void
foo
(
void
) {
5
union
U bar
;
6
__asm__
volatile
(
"foo %0
\n
"
:
"=r"
(
bar
));
7
}