blob: 9fcfc455b7e58b195c19a89d5314dff4ca3a6007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// PR c++/51620
template<int> class A
{
virtual ~A(); // { dg-error "non-deleted|private" }
};
struct B : A<0>, A<1> // { dg-error "deleted|context" }
{
B() {} // { dg-error "context" }
};
|