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/] [scoped7.C] - Blame information for rev 154

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

Line No. Rev Author Line
1 149 jeremybenn
//PR c++/11507
2
// Origin: kai-gcc-bugs@khms.westfalen.de and bangerth@dealii.org
3
//The new parser used to fail on this.
4
 
5
// { dg-do compile }
6
 
7
namespace NS
8
{
9
  void foo(bool arg1);
10
}
11
 
12
namespace M {
13
  namespace K {
14
    bool Bc(bool x);
15
  }
16
 
17
  void bar() {
18
    NS::foo (K::Bc(true)); // GCC could not find K or Bc.
19
  }
20
}

powered by: WebSVN 2.1.0

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