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
Merge from trunk:
[official-gcc.git]
/
main
/
gcc
/
testsuite
/
g++.dg
/
template
/
dtor9a.C
blob
aaae8b6add04fec6d59d60340cf562a24ca5ee48
1
// PR c++/60347
2
// { dg-options "-fuse-all-virtuals" }
3
4
struct A;
5
6
template <class T>
7
struct B
8
{
9
T* p;
10
virtual ~B() { p->~T(); } // { dg-error "incomplete" }
11
};
12
13
struct C: B<A> { };