1// PR c++/59115
2
3template<typename T, float, int, typename U> void foo(T, U) {} // { dg-error "valid type" }
4
5void bar()
6{
7  foo(0, 0);  // { dg-error "matching" }
8}
9