diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/template20.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/template20.C | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template20.C b/gcc/testsuite/g++.old-deja/g++.jason/template20.C index fe776c9ff21..29b55ae70ac 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/template20.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/template20.C @@ -1,9 +1 @@ -// Make sure type deduction works for both types of array parameters. -template <class T> void f (T (&a)[2]) { } -template <class T> void g (T a[2]) { } -main() -{ - int a[2] = { 0, 0 }; - f (a); - g (a); -} +int main() |