]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/inline-ns7.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / inline-ns7.C
CommitLineData
693ec7e1
AO
1// PR c++/13594
2
bc2c4cb4 3// { dg-options "" }
693ec7e1
AO
4// { dg-do compile }
5
693ec7e1 6namespace foo {
4cfaec1c 7 inline namespace foo_impl {
7a95dfa7 8 class T; // { dg-message "T" }
9deb204a 9 }
693ec7e1
AO
10}
11namespace bar {
4cfaec1c 12 inline namespace bar_impl {
7a95dfa7 13 class T; // { dg-message "T" }
9deb204a 14 }
693ec7e1
AO
15 using namespace foo;
16}
17namespace baz {
18 using namespace foo;
19 using namespace bar;
20}
21
22foo::T *t1;
23bar::T *t2;
7a95dfa7 24baz::T *t3; // { dg-error "(ambiguous|does not name a type)" }
This page took 8.85126 seconds and 5 git commands to generate.