1  /* Test [*] diagnosed on old-style parameter declaration.  PR c/88704.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=c99 -pedantic-errors" } */
       4  
       5  void
       6  f (x)
       7       int x[*];
       8  { /* { dg-error "not allowed in other than function prototype scope" } */
       9  }