blob: 2e4adca237797b6c7df5ed10a4167b6517548a7d [file] [log] [blame]
// PR c++/51620
template<int> class A
{
virtual ~A(); // { dg-message "non-deleted|private" }
};
struct B : A<0>, A<1> // { dg-error "deleted|context" }
{
B() {} // { dg-error "context" }
};