Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/990222-1.c

raw
1 void abort(void);
2
3 char line[4] = { '1', '9', '9', '\0' };
4
5 int main()
6 {
7 char *ptr = line + 3;
8
9 while ((*--ptr += 1) > '9') *ptr = '0';
10 if (line[0] != '2' || line[1] != '0' || line[2] != '0')
11 abort();
12 return 0;
13 }