aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/ns12.C
blob: 33d50b1d26cbb6b4407eae1da731f33f73489956 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace fred
{
  int barney();
  extern int wilma;
}

int fred::barney()
{
  return fred::wilma;
}

int fred::wilma;

int barney()
{
  return 1;
}

main()
{
  return fred::barney();
}