1 /* $NetBSD: msg_128.c,v 1.5 2022/06/22 19:23:18 rillig Exp $ */ 2 # 3 "msg_128.c" 3 4 // Test for message: operands of '%s' have incompatible pointer types to '%s' and '%s' [128] 5 6 void 7 conversion_to_unconst(const char *cstr) 8 { 9 char *str; 10 /* expect+1: warning: operands of '=' have incompatible pointer types to 'char' and 'const char' [128] */ 11 str = cstr; 12 } 13