typedef int (A)[]; template void f(T (*)[1]); // { dg-error "array" } int main() { f(0); // { dg-error "no match" } }