Sign in
ara-mdk
/
platform
/
external
/
llvm
/
770772e831d1ff1dfbc0e94fb3212437e597d7a5
/
.
/
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
));
}