Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- validation/bool-float.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 validation/bool-float.c diff --git a/validation/bool-float.c b/validation/bool-float.c new file mode 100644 index 000000000..eadf4cf09 --- /dev/null +++ b/validation/bool-float.c @@ -0,0 +1,9 @@ +int ftst(double a) { return !a; } + +/* + * check-name: not-operator on float + * check-command: test-linearize -Wno-decl $file + * check-output-ignore + * + * check-output-excludes: \\$0 + */ -- 2.12.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html