1 /* Test for -Wdeclaration-after-statement emitting warnings when no
2 standard-specifying option is given. See also c9?-mixdecl-*. */
3 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
5 /* { dg-options "-Wdeclaration-after-statement" } */
7 extern void abort (void);
8 extern void exit (int);
19 int j
= i
; /* { dg-warning "warning" "declaration after statement" } */
22 struct foo
{ int i0
; } k
= { 4 }; /* { dg-warning "warning" "declaration after statement" } */