aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/synth6.C
blob: f3a95db44f7328334c895543b0a135c64de72485 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Bug: g++ tries to generate an op= for DbmItem and fails.
// Build don't link:

class RefCount{
public:
  RefCount();

private:
  RefCount& operator=(const RefCount);
};

class DbmItem: public RefCount{
public:
  DbmItem(): RefCount() {};
};