summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/overload3.C
blob: fc1d5c09d614f9dac5040684c15f2c529a2b0690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Build don't run:

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

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

int i;

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