mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-25 11:59:34 +08:00
new
From-SVN: r23401
This commit is contained in:
parent
c98927faa9
commit
41cdcc1087
11
gcc/testsuite/g++.old-deja/g++.pt/explicit75.C
Normal file
11
gcc/testsuite/g++.old-deja/g++.pt/explicit75.C
Normal file
@ -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>();
|
||||
}
|
Loading…
Reference in New Issue
Block a user