summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/mutable1.C
blob: f3ac2e4a9d6f53958b853801d91a4c7f6b484088 (plain)
1
2
3
4
5
6
7
// PR c++/16518

struct foo { 
  void bar() const { m1=1; m2=1;} 
  mutable int m1,m2; 
};