summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/funcdef-storage-1.c
blob: 9aa963a02887452a0b5d5e854fe8eb7994ba27e0 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */

void
flarm(void)
{
  static void foo();  /* { dg-error "invalid storage class" } */

  foo();
}