// PR c++/57638 template struct S {}; template void g(S); void f() { S<1000> t; g(t); // { dg-error "no matching" } } // { dg-message "mismatched types 'long long int' and 'int'" "" { target *-*-* } 12 }