Debian Codegraph @

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

raw
1 struct Bar
2 {
3 typedef int type;
4 };
5
6 struct Foo
7 {
8 void func(void)
9 {
10 mutable Bar::type x; // { dg-error "8:non-member .x. cannot be declared .mutable." }
11 }
12 };