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