diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/defarg5.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/defarg5.C | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/defarg5.C b/gcc/testsuite/g++.old-deja/g++.pt/defarg5.C deleted file mode 100644 index 6a68bad8251..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.pt/defarg5.C +++ /dev/null @@ -1,24 +0,0 @@ -// Build don't link: - -template <int dim> -class Point { - public: - Point (Point<dim> &); - Point<dim> & operator = (Point<dim> &); -}; - - - -template <int dim> -class bar{ - public: - void foo (Point<dim> p = Point<dim>()); -}; - - - -template <> -void bar<2>::foo (Point<2> p) { - const int dim = 2; - Point<dim> q = p; -}; |