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