diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2017-12-11 13:33:13 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-06-23 07:46:39 +0200 |
| commit | 86af2a17d26712bce69759120c290c5ede88f677 (patch) | |
| tree | c29b24b7dde23233b88a99fe3fc29538bd18bb5d /validation/linear/fp-vs-ptrcast.c | |
| parent | 3e7e84decfebec22936e288e66fd7a5a51f01fc7 (diff) | |
| download | sparse-dev-86af2a17d26712bce69759120c290c5ede88f677.tar.gz | |
cast: reorg testcases related to casts
* merge the tests about implicit & explicit casts in a
single file as there was a lot of redundancy.
* shuffle the tests to linear/ or optim/
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/linear/fp-vs-ptrcast.c')
| -rw-r--r-- | validation/linear/fp-vs-ptrcast.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/validation/linear/fp-vs-ptrcast.c b/validation/linear/fp-vs-ptrcast.c new file mode 100644 index 00000000..817aee5c --- /dev/null +++ b/validation/linear/fp-vs-ptrcast.c @@ -0,0 +1,13 @@ +float *f01(void* p) +{ + return p; +} + +/* + * check-name: fp-vs-ptrcast + * check-command: test-linearize -Wno-decl $file + * check-output-ignore + * + * check-output-excludes: fpcast + * check-output-contains: ptrcast + */ |
