1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89 -pedantic-errors" } */
4 w
*x
; /* { dg-error "unknown type name 'w'" } */
6 int z
; /* { dg-message "previous declaration of 'z'" } */
7 y
/* { dg-error "unknown type name 'y'" } */
8 * z
; /* { dg-error "conflicting " } */
13 d
* e
; /* { dg-bogus "unknown type name 'd'" } */
14 g
* h
; /* { dg-error "unknown type name 'g'" } */
15 /* { dg-error "mixed declarations" "" { target *-*-* } .-1 } */
16 g i
; /* { dg-error "unknown type name 'g'" } */
23 b
: a
: ; /* { dg-bogus "a label can only be part of a statement" } */
24 c
: d e
; /* { dg-error "a label can only be part of a statement" } */
25 /* { dg-error "unknown type name 'd'" "unknown type name" { target *-*-* } .-1 } */
31 return x
; /* { dg-bogus "'x' undeclared" } */