diff options
Diffstat (limited to 'validation')
| -rw-r--r-- | validation/bad-cast.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/validation/bad-cast.c b/validation/bad-cast.c index bafd5a25..4eb4a8eb 100644 --- a/validation/bad-cast.c +++ b/validation/bad-cast.c @@ -4,3 +4,12 @@ static int foo(int a) { return (struct/st *) a; } +/* + * check-name: Bad cast syntax + * + * check-error-start +bad-cast.c:5:16: error: expected declaration +bad-cast.c:5:16: error: Expected ) at end of cast operator +bad-cast.c:5:16: error: got / + * check-error-end + */ |
