blob: 58b98ce5b0b678a22424b9bb1a26ac21a5710e4e [file] [log] [blame]
extern void *memset (void *s, int c, int n);
static void foo(void *a)
{
memset(foo, + ', 20);
}
/*
* check-name: Segfault in check_byte_count after syntax error
*
* check-error-start
check_byte_count-ice.c:5:25: error: Bad character constant
check_byte_count-ice.c:5:15: error: not enough arguments for function memset
* check-error-end
*/