aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/overload3.C
blob: cf5ceeba198881efe36798a59a59095f28ed095b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do link  }

void f(const int *);
void f(int *) {}

void f2(const volatile int *);
void f2(volatile int *) {}

int i;

int main()
{
  f(&i);
  f2(&i);
}