aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
Diffstat (limited to 'validation')
-rw-r--r--validation/check_byte_count-ice.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/validation/check_byte_count-ice.c b/validation/check_byte_count-ice.c
index e58312df..93f0dc7a 100644
--- a/validation/check_byte_count-ice.c
+++ b/validation/check_byte_count-ice.c
@@ -4,3 +4,11 @@ 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:18: error: Bad character constant
+check_byte_count-ice.c:5:8: error: not enough arguments for function memset
+ * check-error-end
+ */