aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20010503-1.c
blob: 75005f456c3eed2238b0cecec9b86ea238ee596f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
void f1 (double);
void f2 (int);

void
foo (int type, double xx)
{
  if (type)
    f1 (xx);
  else
    f2 (type);
}

void
bar (int type)
{
  foo (type, 1.0);
}