msg_085.c revision 1.6 1 /* $NetBSD: msg_085.c,v 1.6 2023/03/28 14:44:34 rillig Exp $ */
2 # 3 "msg_085.c"
3
4 // Test for message: dubious tag declaration '%s %s' [85]
5
6 /* lint1-extra-flags: -X 351 */
7
8 /* expect+1: warning: dubious tag declaration 'struct in_argument' [85] */
9 void declare_struct(struct in_argument *);
10 /* expect+1: warning: dubious tag declaration 'union in_argument' [85] */
11 void declare_union(union in_argument *);
12 /* expect+1: warning: dubious tag declaration 'enum in_argument' [85] */
13 void declare_enum(enum in_argument *);
14
15 /* expect+1: warning: struct 'ok' never defined [233] */
16 struct ok;
17 extern int ok(struct ok *);
18