Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
llvm
/
159ac63ba19f17f82df8975208bdad16ebd01c0f
/
.
/
test
/
FrontendC
/
2007-04-11-InlineAsmUnion.c
blob: 0435d6498ee5e0f9643919b30fc084880924583f [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -emit-llvm -o - | llvm-as | llc
union
U
{
int
x
;
float
p
;
};
void
foo
()
{
union
U bar
;
__asm__
volatile
(
"foo %0\n"
:
"=r"
(
bar
));
}