summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/overload5.C
blob: 1bb2d448f988cabbb5999dbb9ce7fbd9cfe92e0a (plain)
1
2
3
4
5
6
// { dg-do assemble  }

template <class T> void foo();	// { dg-error "" } candidate

void (*bar)() = foo<void>;
void (*baz)() = foo; // { dg-error "" } can't deduce T