summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/init1.C
blob: 113f12c66ececd14266294595cf0c525a1593e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// GROUPS passed initialization
  class Thing{
  private:
	  int x,y;
  public:
	  Thing (int v, int q) { x = v; q = y; }
	  void doit(int);
  };

  Thing t(18,19);