OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [strong-using-2.C] - Blame information for rev 774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/13594
2
 
3
// { dg-options "" }
4
// { dg-do compile }
5
 
6
namespace foo {
7
  inline namespace foo_impl {
8
    class T; // { dg-error "T" "" }
9
  }
10
}
11
namespace bar {
12
  inline namespace bar_impl {
13
    class T; // { dg-error "T" "" }
14
  }
15
  using namespace foo;
16
}
17
namespace baz {
18
  using namespace foo;
19
  using namespace bar;
20
}
21
 
22
foo::T *t1;
23
bar::T *t2;
24
baz::T *t3; // { dg-error "(ambiguous|does not name a type)" "" }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.