☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
dtor13.C
☽
☼
gcc/testsuite/g++.old-deja/g++.other/dtor13.C
code
plain
raw
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <
[email protected]
>
3
4
template <class T> struct S { ~S(); };
5
int i;
6
7
void f ()
8
{
9
i.~S(); // { dg-error "" } invalid destructor call.
10
}