Sign in
llvm
/
llvm
/
refs/heads/release_29
/
.
/
test
/
FrontendC
/
2007-04-13-InlineAsmUnion2.c
blob: a0944a7b64077f0f7e48177ae6120316c399dd93 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -o - | grep {call void asm}
union
U
{
int
x
;
char
*
p
;
};
void
foo
()
{
union
U bar
;
__asm__
volatile
(
"foo %0\n"
::
"r"
(
bar
));
}