repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2007-04-11-InlineAsmStruct.c
blob
713c548f35553f30df63b2306e2e352a442028fd
1
// RUN: %clang_cc1 %s -emit-llvm -o -
2
3
struct
V
{
short
X
,
Y
; };
4
int
bar
(
void
) {
5
struct
V bar
;
6
__asm__
volatile
(
"foo %0
\n
"
:
"=r"
(
bar
));
7
return
bar
.
X
;
8
}