repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr35634.C
blob
3c888ad43e1949a0b4da93ffdbdada5657dda80f
1
/* { dg-do run } */
2
3
extern "C" void abort (void);
4
extern "C" void exit (int);
5
6
void foo (int i)
7
{
8
static int n;
9
if (i < -128 || i > 127)
10
abort ();
11
if (++n > 1000)
12
exit (0);
13
}
14
15
int main ()
16
{
17
signed char c;
18
for (c = 0; ; c++) foo (c);
19
}