summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/lookup3.C
blob: 1159a1167a25c3d293e51b9d4c5fe6579a7524a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do run  }
namespace A{
  int i;
  int f();
}

int A::f()
{
  return i;
}

int main()
{
  return A::f();
}