Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
dc757b049796949e4b11646445a6598f0bdabd7a
/
.
/
test
/
CodeGen
/
2007-04-11-InlineAsmStruct.c
blob: d617feeed9f96f9b9c99efb3a569f119052dd9a8 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -emit-llvm -o -
struct
V
{
short
X
,
Y
;
};
int
bar
()
{
struct
V bar
;
__asm__
volatile
(
"foo %0\n"
:
"=r"
(
bar
));
return
bar
.
X
;
}