diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/unify2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/unify2.C | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/unify2.C b/gcc/testsuite/g++.old-deja/g++.pt/unify2.C deleted file mode 100644 index 89b043d7901..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/unify2.C +++ /dev/null @@ -1,27 +0,0 @@ -// Build don't link: - -template <class T> -struct S -{ - typedef T S_Type; -}; - - -template <class T> -void foo(typename S<T>::S_Type) -{ -} - - -template <class T> -void foo(T) -{ -} - - -struct S2 {}; - -void bar() -{ - foo(S2()); // We can't unify with the first foo, so we get the second. -} |