URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do compile }
|
// { dg-do compile }
|
|
|
// Origin: Richard Guenther
|
// Origin: Richard Guenther
|
|
|
// PR c++/9432: ICE in validate_nonmember_using_decl when decl is a
|
// PR c++/9432: ICE in validate_nonmember_using_decl when decl is a
|
// SCOPE_REF.
|
// SCOPE_REF.
|
|
|
template struct Foo;
|
template struct Foo;
|
template
|
template
|
struct Bar : public Foo {
|
struct Bar : public Foo {
|
void foo()
|
void foo()
|
{
|
{
|
using Foo::i; // { dg-error "not a namespace" }
|
using Foo::i; // { dg-error "not a namespace" }
|
}
|
}
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.