[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / array28.C
blob18b629d447f39319ad9032f04342d281a4bbad94
1 typedef int (A)[];
3 template<class T> void f(T (*)[1]); // { dg-error "array" }
5 int main() {
6   f<int[]>(0);                  // { dg-error "no match" }