Sign in
llvm
/
llvm
/
refs/heads/release_22
/
.
/
test
/
CFrontend
/
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
));
}