repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
virtual3.C
blob
2e4adca237797b6c7df5ed10a4167b6517548a7d
1
// PR c++/51620
2
3
template<int> class A
4
{
5
virtual ~A(); // { dg-message "non-deleted|private" }
6
};
7
8
struct B : A<0>, A<1> // { dg-error "deleted|context" }
9
{
10
B() {} // { dg-error "context" }
11
};