1 /* $NetBSD: msg_044.c,v 1.7 2023/08/26 10:43:53 rillig Exp $ */
2 # 3 "msg_044.c"
3
4 // Test for message: declaration of '%s %s' introduces new type in C90 or later [44]
5
6 /* lint1-extra-flags: -X 351 */
7
8 /* expect+1: warning: struct 'tag' never defined [233] */
9 struct tag;
10
11 void declaration(struct tag *);
12
definition(void)13 void definition(void) {
14 /* expect+2: warning: declaration of 'struct tag' introduces new type in C90 or later [44] */
15 /* expect+1: warning: struct 'tag' never defined [233] */
16 struct tag;
17 }
18