summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/namespace6.C
blob: 06642d429ef1ed77909caf85cbf15088d0945654 (plain)
1
2
3
4
5
6
7
8
9
10
namespace a {
    namespace b {
        void foo();
    }
}

void
a::b:foo() // { dg-error "" }
{
}