URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [template12.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Testcase for 'this is a type' syntax.
struct B {
typedef int A;
};
template <class T> struct Y {
void f() {
typename T::A *d;
}
};
template class Y<B>;
Go to most recent revision | Compare with Previous | Blame | View Log