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