URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [crash8.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do compile }
// GROUPS passed old-abort
template<int a, int b>
class Elvis // { dg-error "class Elvis" }
{
} ;
template<int a>
class Elvis<0> // { dg-error "wrong number of template arguments" }
{
int geta() { return a ; }
} ;