xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_289.c (revision 7d62b00eb9ad855ffcd7da46b41e23feb5476fac)
1 /*	$NetBSD: msg_289.c,v 1.4 2022/06/17 18:54:53 rillig Exp $	*/
2 # 3 "msg_289.c"
3 
4 // Test for message: can't be used together: /* PRINTFLIKE */ /* SCANFLIKE */ [289]
5 
6 /* PRINTFLIKE */ /* SCANFLIKE */
7 void
8 both(void)
9 /* expect+1: warning: can't be used together: ** PRINTFLIKE ** ** SCANFLIKE ** [289] */
10 {
11 }
12