C99 testsuite readiness: Compile more tests with -std=gnu89
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / addcc.c
blob307bd5cc4148052e0f8c6a51878cb0fbe48b8405
1 /* { dg-additional-options "-std=gnu89" } */
3 foo (p, a, b)
4 int *p;
5 int a;
6 int b;
9 a += p[0];
10 b += p[1];
11 if (a == 0)
12 return b;
13 return a;
17 bar (a)
19 return -a > 0 ? 1 : 2;