blob: 2372a5cb0fd64f3769b885e0a8bb75c1d2e1e88b [file] [log] [blame]
/* { dg-do compile } */
class X {
mutable int &q; /* { dg-error "3:reference .q. cannot be declared .mutable." } */
};