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/] [lookup8.C] - Rev 844
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
class X{};
class Y : public X<int>
{
void f();
};
void Y::f()
{
X x; // { dg-error "" } X is not a type.
}
Go to most recent revision | Compare with Previous | Blame | View Log