diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash37.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/crash37.C | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash37.C b/gcc/testsuite/g++.old-deja/g++.pt/crash37.C deleted file mode 100644 index c2325bffa8a..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/crash37.C +++ /dev/null @@ -1,22 +0,0 @@ -// Build don't link: -// Origin: Jens Maurer <jmaurer@menuett.rhein-main.de> - -template<class T, void (T::*f)(int)> -class C { }; - -template<class T> -C<T, &T::output> call(T& obj) -{ return C<T, &T::output>(); -} - -class Test { -public: - void output(int); -}; - -void sub() -{ - Test t; - call(t); -} - |