URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [crash42.C] - Rev 699
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Walter Brisken <walterfb@puppsr14.princeton.edu>
template <class T> class list {};
class newtype
{
};
void crash()
{
newtype* n;
n->list.size (); // { dg-error "" } invalid use of template
}