rt_gccstream/gcc/testsuite/g++.dg/parse/crash4.C

13 lines
144 B
C

struct Bar
{
typedef int type;
};
struct Foo
{
void func(void)
{
mutable Bar::type x; // { dg-error "" }
}
};