diff options
author | Jason Merrill <jason@gcc.gnu.org> | 1998-10-28 06:44:23 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-10-28 06:44:23 -0500 |
commit | 41cdcc108702a4e89e807271204c8fbe8b92cddb (patch) | |
tree | 055e056d0b2ba82e1d7143ace0096239c1159ac0 /gcc | |
parent | c98927faa9b0899edf6101501f3bac2c8c40cdf0 (diff) | |
download | gcc-41cdcc108702a4e89e807271204c8fbe8b92cddb.zip gcc-41cdcc108702a4e89e807271204c8fbe8b92cddb.tar.gz gcc-41cdcc108702a4e89e807271204c8fbe8b92cddb.tar.bz2 |
new
From-SVN: r23401
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.pt/explicit75.C | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/explicit75.C b/gcc/testsuite/g++.old-deja/g++.pt/explicit75.C new file mode 100644 index 0000000..433f0b1 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.pt/explicit75.C @@ -0,0 +1,11 @@ +// Test for not complaining about mismatches during unification. +// Build don't link: + +template <void (*F)(int)> void f(); +template <void (*F)(double)> void f(); +extern void g(double); + +void h () +{ + f<g>(); +} |