URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 305 |
Rev 338 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Origin: Mark Mitchell
|
// Origin: Mark Mitchell
|
|
|
template
|
template
|
struct S {
|
struct S {
|
typedef typename T::Y::Z X; // { dg-error "non-template" "non-template" } No Y in A
|
typedef typename T::Y::Z X; // { dg-error "non-template" "non-template" } No Y in A
|
// { dg-message "note" "note" { target *-*-* } 6 }
|
// { dg-message "note" "note" { target *-*-* } 6 }
|
// { dg-error "does not declare" "not declare" { target *-*-* } 6 }
|
// { dg-error "does not declare" "not declare" { target *-*-* } 6 }
|
X x; // { dg-error "does not name a type" } No Y in A
|
X x; // { dg-error "does not name a type" } No Y in A
|
};
|
};
|
|
|
struct A {
|
struct A {
|
struct Y {
|
struct Y {
|
typedef A Z;
|
typedef A Z;
|
};
|
};
|
};
|
};
|
|
|
template struct S;
|
template struct S;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.