Debian Codegraph @

gcc/testsuite/gcc.dg/noncompile/sizeof-1.c

raw
1 /* PR c/115642 */
2 /* { dg-do compile } */
3
4 void f (int N) {
5 int a[2][N];
6 sizeof ((int [2][N])a); /* { dg-error "cast specifies array type" } */
7 }