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