1 static int e[] = { '\'', '\"', '\?', '\\', 2 '\a', '\b', '\f', '\n', '\r', '\t', '\v', 3 '\0', '\012', '\x7890', '\xabcd' }; 4 static char *s = "\'\"\?\\ \a\b\f\n\r\t\v \377\xcafe"; 5 6 static int bad_e[] = { '\c', '\0123', '\789', '\xdefg' }; 7 8 static char a_hex[3] = "\x61\x62\x63"; 9 static char b_hex[3] = "\x61\x62\x63\x64"; 10 static char c_hex[3] = "\x61\x62"; 11 static char d_hex[3] = "\x61"; 12 13 static char a_oct[3] = "\141\142\143"; 14 static char b_oct[3] = "\141\142\143\144"; 15 static char c_oct[3] = "\141\142"; 16 static char d_oct[3] = "\141"; 17 /* 18 * check-name: Character escape sequences 19 * 20 * check-error-start 21 escapes.c:3:34: warning: hex escape sequence out of range 22 escapes.c:3:44: warning: hex escape sequence out of range 23 escapes.c:4:18: warning: hex escape sequence out of range 24 escapes.c:6:24: warning: unknown escape sequence: '\c' 25 escapes.c:6:30: warning: multi-character character constant 26 escapes.c:6:39: warning: multi-character character constant 27 escapes.c:6:47: warning: hex escape sequence out of range 28 escapes.c:6:47: warning: multi-character character constant 29 escapes.c:9:24: warning: too long initializer-string for array of char 30 escapes.c:14:24: warning: too long initializer-string for array of char 31 * check-error-end 32 */ 33