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

void std::g()
{}

int main()
{
  return std::i-5;
}