OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR 17408 and PR 17409.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
990222-1.c
1
char line[4] = { '1', '9', '9', '\0' };
2
3
int main()
4
{
5
char *ptr = line + 3;
6
7
while ((*--ptr += 1) > '9') *ptr = '0';
8
if (line[0] != '2' || line[1] != '0' || line[2] != '0')
9
abort();
10
return 0;
11
}