Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/dtor13.C

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 }