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