1f08c3bdfSopenharmony_ciextern void *memset (void *s, int c, int n); 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_cistatic void foo(void *a) 4f08c3bdfSopenharmony_ci{ 5f08c3bdfSopenharmony_ci memset(foo, + ', 20); 6f08c3bdfSopenharmony_ci} 7f08c3bdfSopenharmony_ci/* 8f08c3bdfSopenharmony_ci * check-name: Segfault in check_byte_count after syntax error 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * check-error-start 11f08c3bdfSopenharmony_cicheck_byte_count-ice.c:6:0: warning: missing terminating ' character 12f08c3bdfSopenharmony_cicheck_byte_count-ice.c:5:23: warning: multi-character character constant 13f08c3bdfSopenharmony_cicheck_byte_count-ice.c:6:1: error: Expected ) in function call 14f08c3bdfSopenharmony_cicheck_byte_count-ice.c:6:1: error: got } 15f08c3bdfSopenharmony_cicheck_byte_count-ice.c:20:0: error: Expected } at end of function 16f08c3bdfSopenharmony_cicheck_byte_count-ice.c:20:0: error: got end-of-input 17f08c3bdfSopenharmony_cicheck_byte_count-ice.c:5:15: error: not enough arguments for function memset 18f08c3bdfSopenharmony_ci * check-error-end 19f08c3bdfSopenharmony_ci */ 20