xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_085.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /*	$NetBSD: msg_085.c,v 1.5 2022/06/21 21:18:30 rillig Exp $	*/
2 # 3 "msg_085.c"
3 
4 // Test for message: dubious tag declaration '%s %s' [85]
5 
6 /* expect+1: warning: dubious tag declaration 'struct in_argument' [85] */
7 void declare_struct(struct in_argument *);
8 /* expect+1: warning: dubious tag declaration 'union in_argument' [85] */
9 void declare_union(union in_argument *);
10 /* expect+1: warning: dubious tag declaration 'enum in_argument' [85] */
11 void declare_enum(enum in_argument *);
12 
13 /* expect+1: warning: struct 'ok' never defined [233] */
14 struct ok;
15 extern int ok(struct ok *);
16