// { dg-do run } // Test that we can deduce t even though T is deduced from a later argument. template struct A { }; template void f (A &, T) { } int main () { A<42> a; f (a, 24); }