diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.pt/explicit22.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/explicit22.C | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit22.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit22.C new file mode 100644 index 000000000..49b4f748e --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/explicit22.C @@ -0,0 +1,10 @@ +// { dg-do assemble } +// GROUPS passed templates +template <class T, class U> +T foo(T t, U* u); + +template <class T> +T foo(T t, T* u); + +template <> +int foo<int>(int, int*); |