OSDN Git Service

2012-04-15 Fabien ChĂȘne <fabien@gcc.gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lookup / ambig5.C
1 // PR c++/13377
2 // Origin: Boris Kolpackov <boris@kolpackov.net>
3 // { dg-do compile }
4
5 namespace N
6 {
7   namespace M {}    // { dg-error "M" }
8 }
9
10 namespace M {}      // { dg-error "M" }
11
12 using namespace N;
13 using namespace M;  // { dg-error "namespace-name|ambiguous" }