URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
//PR c++/11507
|
//PR c++/11507
|
// Origin: kai-gcc-bugs@khms.westfalen.de and bangerth@dealii.org
|
// Origin: kai-gcc-bugs@khms.westfalen.de and bangerth@dealii.org
|
//The new parser used to fail on this.
|
//The new parser used to fail on this.
|
|
|
// { dg-do compile }
|
// { dg-do compile }
|
|
|
namespace NS
|
namespace NS
|
{
|
{
|
void foo(bool arg1);
|
void foo(bool arg1);
|
}
|
}
|
|
|
namespace M {
|
namespace M {
|
namespace K {
|
namespace K {
|
bool Bc(bool x);
|
bool Bc(bool x);
|
}
|
}
|
|
|
void bar() {
|
void bar() {
|
NS::foo (K::Bc(true)); // GCC could not find K or Bc.
|
NS::foo (K::Bc(true)); // GCC could not find K or Bc.
|
}
|
}
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.