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/20061124-1.c: Add exit() function prototype.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
20000629-1.c
blob
b8c7f286d6978a304894e54196b73defa04b2b3e
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -g" } */
3
4
void
foo
(
register
char
*
p
)
5
{
6
char
c
, *
q
, *
sp
;
7
while
(
1
) {
8
*
p
++=
0
;
9
sp
=
p
+
1
;
10
c
=*
sp
;
11
*
p
++=
0
;
12
}
13
}