summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/access21.C
blob: 7d876fce980329b700847c94489b8bf81ed83f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// { dg-do assemble  }
// PRMS Id: 6877

typedef __SIZE_TYPE__ size_t;
class aa {
public:
        aa();
        ~aa();
private:
        int iaa;
        void operator delete(void*, size_t);
};

class bb {
public:
        aa caa;
};				// { dg-bogus "" } calling private delete

void
f(){
        bb abb;
}