xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_184.c (revision e6298b924c5ba98f3a22919b56dab04a87cdbb1c)
1 /*	$NetBSD: msg_184.c,v 1.6 2023/07/07 19:45:22 rillig Exp $	*/
2 # 3 "msg_184.c"
3 
4 // Test for message: illegal combination of '%s' and '%s' [184]
5 
6 /* lint1-extra-flags: -X 351 */
7 
8 int *
example(char * cp)9 example(char *cp)
10 {
11 	/* expect+1: warning: illegal combination of 'pointer to int' and 'pointer to char' [184] */
12 	return cp;
13 }
14