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
* MAINTAINERS: Add a note that maintainership also includes web
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
dtor11.C
blob
63ffb60bac107dfe2f8f5d9d138ac4d91de01592
1
// PR c++/28606
2
// { dg-do compile }
3
4
struct A
5
{
6
~A A(); // { dg-error "destructor" }
7
};
8
9
struct B
10
{
11
A::~B B(); // { dg-error "as member of" }
12
};