xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_289.c (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1 /*	$NetBSD: msg_289.c,v 1.6 2023/07/09 11:01:27 rillig Exp $	*/
2 # 3 "msg_289.c"
3 
4 // Test for message: /* PRINTFLIKE */ and /* SCANFLIKE */ cannot be combined [289]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 /* PRINTFLIKE */ /* SCANFLIKE */
9 void
10 both(void)
11 /* expect+1: warning: ** PRINTFLIKE ** and ** SCANFLIKE ** cannot be combined [289] */
12 {
13 }
14