Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
1b497f26ab7861b22383b22f35cf799c0b312c9b
/
.
/
test
/
CodeGen
/
2007-04-11-InlineAsmUnion.c
blob: 6d24d938abb34767904bb5eb381e6e34c29f4050 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o -
union
U
{
int
x
;
float
p
;
};
void
foo
()
{
union
U bar
;
__asm__
volatile
(
"foo %0\n"
:
"=r"
(
bar
));
}