☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
dtor2.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/dtor2.C
code
plain
raw
1
// { dg-do run }
2
// PRMS Id: 5163
3
// Bug: g++ doesn't accept the explicit destructor call syntax for templates.
4
5
template <class T> struct A { };
6
A<int> a;
7
8
int main()
9
{
10
a.~A(); // { dg-bogus "" }
11
}