mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-07 23:47:08 +08:00
new
From-SVN: r23604
This commit is contained in:
parent
78ab9a3cc8
commit
a8ec10c912
11
gcc/testsuite/g++.old-deja/g++.pt/unify4.C
Normal file
11
gcc/testsuite/g++.old-deja/g++.pt/unify4.C
Normal file
@ -0,0 +1,11 @@
|
||||
template <class T> void f (T);
|
||||
|
||||
void g ();
|
||||
void g (int);
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
f (g); // ERROR - ambiguous unification
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user