xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_289.c (revision a194378b9e1779a0079141bfd4343c41708da313)
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
both(void)10 both(void)
11 /* expect+1: warning: ** PRINTFLIKE ** and ** SCANFLIKE ** cannot be combined [289] */
12 {
13 }
14