diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-09-15 00:55:12 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-09-15 00:55:12 -0700 |
| commit | 559ae36944df98c2e13e4060d0a2309b24887acf (patch) | |
| tree | 4f3834a4bcef0fcf592e583bc18c7c81e7f74171 /validation | |
| parent | 61e7a809590748b886390597c6a3a0b7c2b07610 (diff) | |
| download | sparse-dev-559ae36944df98c2e13e4060d0a2309b24887acf.tar.gz | |
Add test-suite annotations to check_byte_count-ice.c
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/check_byte_count-ice.c | 8 |
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 + */ |
