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