1 /* $NetBSD: msg_079.c,v 1.6 2024/02/02 19:07:58 rillig Exp $ */ 2 # 3 "msg_079.c" 3 4 // Test for message: dubious escape \%c [79] 5 6 /* \e is only accepted in GCC mode. */ 7 8 /* lint1-extra-flags: -X 351 */ 9 10 char char_e = '\e'; 11 /* expect+1: warning: dubious escape \y [79] */ 12 char char_y = '\y'; 13 int wide_e = L'\e'; 14 /* expect+1: warning: dubious escape \y [79] */ 15 int wide_y = L'\y'; 16 17 char char_string_e[] = "\e[0m"; 18 /* expect+1: warning: dubious escape \y [79] */ 19 char char_string_y[] = "\y[0m"; 20 int wide_string_e[] = L"\e[0m"; 21 /* expect+1: warning: dubious escape \y [79] */ 22 int wide_string_y[] = L"\y[0m"; 23