diff options
| author | Josh Triplett <josh@freedesktop.org> | 2007-07-22 20:29:31 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@freedesktop.org> | 2007-07-22 20:29:31 -0700 |
| commit | 3259d842c73dbd08d1b9d062d770582477c4fccc (patch) | |
| tree | ec6dae6f8671f6eaf176a420453cda9c0686bacf | |
| parent | 33683d9fd2b3d6d240c539e50e61af0fca0fe5aa (diff) | |
| download | sparse-dev-3259d842c73dbd08d1b9d062d770582477c4fccc.tar.gz | |
Add test-suite metadata to bad-cast.c
Signed-off-by: Josh Triplett <josh@freedesktop.org>
| -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 + */ |
