summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/t37.C
blob: 99348c050095b313e6472afeec7e700d8bc2ef0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }

class A { // { dg-error "" } synthesized copy ctor
public:
  A(int);			// { dg-error "" } referenced below
  A(float);			// { dg-error "" } referenced below
  ~A();
};

A::A() {		// { dg-error "" } 
}
  
A::A(int) {
}
  
A::~A() {
}