summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20040124-1.c
blob: 01c9002389e217e6a812c886536121a5e683031b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
int
f1 (int a, int b)
{
  int i, j, k;

  switch (b)
    {
    case (-9):
      j = 4;
      break;
    case (-10):
      j = 10;
      break;
    case (-8):
      j = 15;
      break;
    }

  i = f2 (f3 (b == (-9) ? k : a), j);

  return 0;
}