repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Shrink Thumb2 movcc instructions.
[llvm/avr.git]
/
test
/
FrontendC
/
sret.c
blob
11ac5d6824e8ebaf9852e379cc0dfa6e3faa1287
1
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 5
2
3
struct
abc
{
4
long
a
;
5
long
b
;
6
long
c
;
7
};
8
9
struct
abc
foo1
(
void
);
10
struct
abc
foo2
();
11
12
void
bar
() {
13
struct
abc dummy1
=
foo1
();
14
struct
abc dummy2
=
foo2
();
15
}