summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tc1/dr159.C
blob: 74d23f1cd1fa0b1d6cfb30f8ae3887879575b3ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do compile }
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
// DR159: Namespace qualification in declarators 

namespace N {
  namespace M {
    void f();
    void g();
  }
  void M::f(){}
  void N::M::g(){}
}