URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// { dg-options "" }
|
// { dg-options "" }
|
// Test for implicit typename
|
// Test for implicit typename
|
|
|
template
|
template
|
struct A {
|
struct A {
|
protected:
|
protected:
|
typedef struct B { } B;
|
typedef struct B { } B;
|
};
|
};
|
|
|
template
|
template
|
struct C { };
|
struct C { };
|
|
|
template
|
template
|
struct D : public A > {
|
struct D : public A > {
|
void f ()
|
void f ()
|
{
|
{
|
B* new_entries = (B *) 0; // { dg-warning "" } implicit typename
|
B* new_entries = (B *) 0; // { dg-warning "" } implicit typename
|
}
|
}
|
};
|
};
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.