summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/pr33558-2.C
blob: a8df840b7a8a1c90138b819c06c9b64a72bb7aa4 (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options "-fpermissive" } */

class X {
  mutable int &q; /* { dg-warning "cannot be declared 'mutable'" } */
};