rt_gccstream/gcc/testsuite/g++.old-deja/g++.other/crash30.C

18 lines
191 B
C

// { dg-do assemble }
// Origin: Jakub Jelinek <jakub@redhat.com>
struct foo
{
foo();
void x();
};
void foo::x() throw(bar) // { dg-error "" } parse error
{
}
void bar()
{
foo x;
}