OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / execute / 20030120-2.c
1 /* PR 8848 */
2
3 extern void abort ();
4
5 int foo(int status)
6 {
7   int s = 0;
8   if (status == 1) s=1;
9   if (status == 3) s=3;
10   if (status == 4) s=4;
11   return s;
12 }
13
14 int main()
15 {
16   if (foo (3) != 3)
17     abort ();
18   return 0;
19 }