diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-08-15 16:49:17 +0200 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2020-08-15 17:08:03 +0200 |
| commit | c73a5a4bbcb30f176be5b82969b5d681b8481bc5 (patch) | |
| tree | c1dae75edf7348a8df2dd7a37b1ccd2d153df256 /Documentation | |
| parent | 49f7e13a7ac9a582d11e9c1ad01e71740f486601 (diff) | |
| download | sparse-dev-c73a5a4bbcb30f176be5b82969b5d681b8481bc5.tar.gz | |
union-cast: add some testcases
Casts to union type are a GCC extension and are similar to
compound literals.
However, sparse doesn't know about them and treats them like
other casts to non-scalars.
Add some testcases for this and its upcoming warning flag.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions
