xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_289.c (revision dd75ac5b443e967e26b4d18cc8cd5eb98512bfbf)
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