Debian Codegraph @

gcc/testsuite/g++.dg/template/array28.C

raw
1 typedef int (A)[];
2
3 template<class T> void f(T (*)[1]); // { dg-error "array" }
4
5 int main() {
6 f<int[]>(0); // { dg-error "no match" }
7 }