repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20030105-1.c
blob
19f3b2ddb126bdd2cf0b00bd282ad56b6636eb76
1
int
__attribute__
((
noinline
))
2
foo
()
3
{
4
const int
a
[
8
] = {
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
};
5
int
i
,
sum
;
6
7
sum
=
0
;
8
for
(
i
=
0
;
i
<
sizeof
(
a
) /
sizeof
(*
a
);
i
++)
9
sum
+=
a
[
i
];
10
11
return
sum
;
12
}
13
14
int
15
main
()
16
{
17
if
(
foo
() !=
28
)
18
abort
();
19
exit
(
0
);
20
}