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
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC
/
funccall.c
blob
9735e3470570eb85cc58b981a1d98ef9f1b1fa34
1
2
static int
q
;
3
4
void
foo
() {
5
int
t
=
q
;
6
q
=
t
+
1
;
7
}
8
int
main
() {
9
q
=
0
;
10
foo
();
11
q
=
q
-
1
;
12
13
return
q
;
14
}
15
16
// This is the source that corresponds to funccall.ll
17
// RUN: echo foo