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++.other/] [crash25.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Origin: Jakub Jelinek <jakub@redhat.com>
class X {
public:
X();
virtual ~X();
}
X::x() // { dg-error "return type|member function|semicolon" }
{
}
X::~x() // { dg-error "expected class-name" }
{
}