Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
virtual3.C
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" }
};