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