Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
dtor2.C
blob: fa1e0a92b639d14d63c18809ff9c3448c8761f51 [
file
] [
log
] [
blame
]
// { dg-do run }
// PRMS Id: 5163
// Bug: g++ doesn't accept the explicit destructor call syntax for templates.
template
<
class
T
>
struct
A
{
};
A
<int>
a
;
int
main
()
{
a
.~
A
();
// { dg-bogus "" }
}