11f5207b7SJohn Levon extern void *memset (void *s, int c, int n); 21f5207b7SJohn Levon foo(void * a)31f5207b7SJohn Levonstatic void foo(void *a) 41f5207b7SJohn Levon { 51f5207b7SJohn Levon memset(foo, + ', 20); 61f5207b7SJohn Levon } 71f5207b7SJohn Levon /* 81f5207b7SJohn Levon * check-name: Segfault in check_byte_count after syntax error 91f5207b7SJohn Levon * 101f5207b7SJohn Levon * check-error-start 11*c85f09ccSJohn Levon check_byte_count-ice.c:6:0: warning: missing terminating ' character 121f5207b7SJohn Levon check_byte_count-ice.c:5:23: warning: multi-character character constant 131f5207b7SJohn Levon check_byte_count-ice.c:6:1: error: Expected ) in function call 141f5207b7SJohn Levon check_byte_count-ice.c:6:1: error: got } 15*c85f09ccSJohn Levon check_byte_count-ice.c:20:0: error: Expected } at end of function 16*c85f09ccSJohn Levon check_byte_count-ice.c:20:0: error: got end-of-input 171f5207b7SJohn Levon check_byte_count-ice.c:5:15: error: not enough arguments for function memset 181f5207b7SJohn Levon * check-error-end 191f5207b7SJohn Levon */ 20