PR libstdc++/54924 - Warn for std::string constructor with wrong size
[official-gcc.git] / gcc / testsuite / g++.dg / lookup / ambig5.C
blobfb48ff3c8aca3958e4105e5bc8edba07e77e70b7
1 // PR c++/13377
2 // Origin: Boris Kolpackov <boris@kolpackov.net>
3 // { dg-do compile }
5 namespace N
7   namespace M {}    // { dg-message "M" }
10 namespace M {}      // { dg-message "M" }
12 using namespace N;
13 using namespace M;  // { dg-error "namespace-name|ambiguous" }