diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/crash30.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/crash30.C | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash30.C b/gcc/testsuite/g++.old-deja/g++.pt/crash30.C deleted file mode 100644 index 13dc37af68d..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/crash30.C +++ /dev/null @@ -1,15 +0,0 @@ -// Build don't link: - -extern "C" int printf(const char *, ...); -template <class T> struct A { - typedef typename T::X B; // ERROR - not a class - A(double); -}; - -template <class T> void xxx(typename A<T>::B); - -template <class T> struct B { - friend void xxx<T>(T); // ERROR - does not match any template -}; - -template struct B<double>; // ERROR - |