xref: /netbsd-src/tests/usr.bin/xlint/lint1/msg_128.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 /*	$NetBSD: msg_128.c,v 1.3 2021/03/16 23:12:30 rillig Exp $	*/
2 # 3 "msg_128.c"
3 
4 // Test for message: operands have incompatible pointer types, op %s (%s != %s) [128]
5 
6 void
7 conversion_to_unconst(const char *cstr)
8 {
9 	char *str;
10 	str = cstr;		/* expect: 128 */
11 }
12