aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/misc4.C
blob: 93aea92d31faa523ae125372cc1e3c1c9ee26de4 (plain)
1
2
3
4
5
6
7
8
9
10
// Build don't link: 
// GROUPS passed miscellaneous
// This should not emit an error about A::~A() being redefined; we
// should check that it is a pure virtual.
class A {
public:
    virtual ~A() = 0;
};

A::~A() {}