summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/net25.C
blob: 57b66eafad1565ad67f9441aea84965c2d463070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }

void shake_zero()
{
}

void shake_one()
{
}

void (*foo)();

int main(int a, char** /*argv*/)
{
  foo = a ? shake_zero : shake_one;
  return 0;
}