Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
cad129bcc0a23d1acfb6560f12ff1066c7b42ba0
/
.
/
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
));
}