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