summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/overload34.C
blob: 13c3eedcfd554fd08a4fc8842758722c3034c245 (plain)
1
2
3
4
5
6
7
8
// { dg-do assemble  }
// PRMS ID: 8010

class X {
  int & flag;
public:
  void f(){ flag++ ; }
};