URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// { dg-options "-Wno-deprecated" }
|
// { dg-options "-Wno-deprecated" }
|
|
|
template
|
template
|
struct A
|
struct A
|
{
|
{
|
typedef T A_Type;
|
typedef T A_Type;
|
};
|
};
|
|
|
|
|
template
|
template
|
struct B : public A
|
struct B : public A
|
{
|
{
|
};
|
};
|
|
|
|
|
template
|
template
|
struct C : public B
|
struct C : public B
|
{
|
{
|
void Func(A_Type); // { dg-warning "" } implicit typename
|
void Func(A_Type); // { dg-warning "" } implicit typename
|
};
|
};
|
|
|
|
|
template
|
template
|
void C::Func(A_Type) { // { dg-warning "" } implicit typename
|
void C::Func(A_Type) { // { dg-warning "" } implicit typename
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.