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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [strong-using-2.C] - Blame information for rev 825

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

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

powered by: WebSVN 2.1.0

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