Sign in
ara-mdk
/
platform
/
external
/
llvm
/
d27047f87dae7c6eb59069b1e5d1368a0b2db5ff
/
.
/
test
/
FrontendC
/
2007-04-11-InlineAsmStruct.c
blob: 49741c68ee6e7b53927613245829f393ddfa6d69 [
file
] [
log
] [
blame
]
// RUN: %llvmgcc %s -S -emit-llvm -o - | llc
struct
V
{
short
X
,
Y
;
};
int
bar
()
{
struct
V bar
;
__asm__
volatile
(
"foo %0\n"
:
"=r"
(
bar
));
return
bar
.
X
;
}