msg_128.c revision 1.7
11.7Srillig/*	$NetBSD: msg_128.c,v 1.7 2023/07/07 19:45:22 rillig Exp $	*/
21.1Srillig# 3 "msg_128.c"
31.1Srillig
41.5Srillig// Test for message: operands of '%s' have incompatible pointer types to '%s' and '%s' [128]
51.1Srillig
61.7Srillig/* lint1-extra-flags: -X 351 */
71.7Srillig
81.3Srilligvoid
91.3Srilligconversion_to_unconst(const char *cstr)
101.3Srillig{
111.3Srillig	char *str;
121.6Srillig	/* expect+2: warning: 'str' set but not used in function 'conversion_to_unconst' [191] */
131.5Srillig	/* expect+1: warning: operands of '=' have incompatible pointer types to 'char' and 'const char' [128] */
141.4Srillig	str = cstr;
151.3Srillig}
16