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
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2007-04-13-InlineAsmStruct2.c
blob
4bae521a236a14c0ac89c7be79ec8c15f6bd404a
1
// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
2
3
struct
V
{
short
X
,
Y
; };
4
int
bar
(
void
) {
5
struct
V bar
;
6
// CHECK: call void asm
7
__asm__
volatile
(
"foo %0
\n
"
::
"r"
(
bar
));
8
return
bar
.
X
;
9
}