OSDN Git Service

* c-decl.c (declspecs_add_type): Don't pedwarn for _Complex in
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / funcdef-storage-1.c
1 /* { dg-do compile } */
2 /* { dg-options "" } */
3
4 void
5 flarm(void)
6 {
7   static void foo();  /* { dg-error "invalid storage class" } */
8
9   foo();
10 }
11
12 static void
13 foo(void)
14 {
15 }