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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr78469.C
blob
dd5ff84bfe4381d9da06e7b28bd3d936baadf6b1
1
// { dg-do compile { target c++11 } }
2
// PR78469, bogus error about inaccessible dtor.
3
4
struct no_destr {
5
no_destr() = default;
6
7
protected:
8
~no_destr() = default;
9
};
10
11
void *Foo ()
12
{
13
return new no_destr ();
14
}