diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/dtor2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/dtor2.C | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/dtor2.C b/gcc/testsuite/g++.old-deja/g++.jason/dtor2.C deleted file mode 100644 index c088e3f3d2e..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/dtor2.C +++ /dev/null @@ -1,10 +0,0 @@ -// 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(); // gets bogus error -} |