☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr78469.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/pr78469.C
code
plain
raw
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
}