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