Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
fc643c5e88c596f217750dd91fcc66488dfed73d
/
.
/
test
/
CFrontend
/
2007-04-13-InlineAsmUnion2.c
blob: 284654d223c04d0bf983de7a03168931a0c1ec83 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -emit-llvm -o - | grep {call void asm}
union
U
{
int
x
;
char
*
p
;
};
void
foo
()
{
union
U bar
;
__asm__
volatile
(
"foo %0\n"
::
"r"
(
bar
));
}