URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash38.C] - Rev 823
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
struct S {
typedef typename T::Y<T>::Z X; // { dg-error "" } No Y in A
X x; // { dg-error "" } No Y in A
};
struct A {
struct Y {
typedef A Z;
};
};
template struct S<A>;
Go to most recent revision | Compare with Previous | Blame | View Log