repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* gcc.dg/lto/20080924_0.c: Fix defaulting to int.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
lto
/
20090706-2_0.c
blob
ce1ff7980f08fb6a35fa4e43dbee516b60bd6751
1
extern
void
abort
(
void
);
2
3
int
foo
(
int
size
)
4
{
5
int
a
[
size
];
6
a
[
size
-
10
] =
42
;
7
return
a
[
size
-
10
] +
size
;
8
}
9
10
int
11
main
()
12
{
13
int
x
=
foo
(
20
);
14
if
(
x
!=
62
)
15
abort
();
16
return
0
;
17
}