// { dg-options "-std=c++0x" } template void f(T t = 0, U u = 0); // { dg-message "candidate" } void g() { f(1, 'c'); // f(1,'c') f(1); // f(1,0) f(); // { dg-error "no matching function" } f(); // f(0,0) f(); // f(0,0) }