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-13-InlineAsmUnion2.c
blob
9e9d6ba64117aef7d66974154da0145d916dd922
1
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2
3
union
U
{
int
x
;
char
*
p
; };
4
void
foo
(
void
) {
5
union
U bar
;
6
// CHECK: call void asm
7
__asm__
volatile
(
"foo %0
\n
"
::
"r"
(
bar
));
8
}