PR middle-end/30262
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 991227-1.c
blob46b0951e9e3b150c711970b7f06756ad5a62beba
1 char* doit(int flag)
3 return 1 + (flag ? "\0wrong\n" : "\0right\n");
5 int main()
7 char *result = doit(0);
8 if (*result == 'r' && result[1] == 'i')
9 exit(0);
10 abort();