(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
nonnull-6.c
       1  /* PR c/100783 - ICE on -Wnonnull and erroneous type
       2     { dg-do compile }
       3     { dg-options "-Wall" } */
       4  
       5  __attribute__((nonnull (1))) void
       6  f1 (char[][n]);                         // { dg-error "undeclared" }
       7  
       8  __attribute__((nonnull (2))) void
       9  f2 (int n, char[n][m]);                 // { dg-error "undeclared" }
      10  
      11  __attribute__((nonnull (1))) void
      12  f3 (char[*][n]);                        // { dg-error "undeclared" }
      13  
      14  __attribute__((nonnull (1))) void
      15  f4 (char[f1]);                          // { dg-error "size" }