repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR libstdc++/54924 - Warn for std::string constructor with wrong size
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
ambig5.C
blob
fb48ff3c8aca3958e4105e5bc8edba07e77e70b7
1
// PR c++/13377
2
// Origin: Boris Kolpackov <boris@kolpackov.net>
3
// { dg-do compile }
4
5
namespace N
6
{
7
namespace M {} // { dg-message "M" }
8
}
9
10
namespace M {} // { dg-message "M" }
11
12
using namespace N;
13
using namespace M; // { dg-error "namespace-name|ambiguous" }