diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template14.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/template14.C | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template14.C b/gcc/testsuite/g++.old-deja/g++.jason/template14.C deleted file mode 100644 index ecd99bc5eaa..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/template14.C +++ /dev/null @@ -1,16 +0,0 @@ -// PRMS Id: 4745 -// Bug: g++ gets the constructor and destructor confused because the default -// parm prevents the two constructor types from satisfying ==. - -template <class T> struct A { - A(int = 1); - ~A(); -}; - -template <class T> A<T>::A(int) { } // causes compiler abort -template <class T> A<T>::~A() { } - -int main() -{ - A<int> a; -} |