math: improve how get_absolute_min/max() work
[smatch.git] / validation / check_byte_count-ice.c
blob58b98ce5b0b678a22424b9bb1a26ac21a5710e4e
1 extern void *memset (void *s, int c, int n);
3 static void foo(void *a)
5 memset(foo, + ', 20);
7 /*
8 * check-name: Segfault in check_byte_count after syntax error
10 * check-error-start
11 check_byte_count-ice.c:5:25: error: Bad character constant
12 check_byte_count-ice.c:5:15: error: not enough arguments for function memset
13 * check-error-end