X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/8f58355ac23c75fac70c5eb471a15034bb90816e..368f75ae50489f85a5f83f997f050653f48e5d18:/test/condifomit.expect diff --git a/test/condifomit.expect b/test/condifomit.expect new file mode 100644 index 0000000..9cd1e51 --- /dev/null +++ b/test/condifomit.expect @@ -0,0 +1,19 @@ + +condifomit.c: (in function cond1) +condifomit.c:11:6: Conditionals with Omitted Operands is not supported by ISO + C99 +condifomit.c: (in function cond2) +condifomit.c:17:9: Conditionals with Omitted Operands is not supported by ISO + C99 +condifomit.c: (in function test_use_before_definition) +condifomit.c:27:17: Variable i used before definition +condifomit.c:27:17: Conditionals with Omitted Operands is not supported by ISO + C99 + +Finished checking --- 4 code warnings, as expected + +Command Line: Setting +gnuextensions redundant with current value +condifomit.c: (in function test_use_before_definition) +condifomit.c:27:17: Variable i used before definition + +Finished checking --- 1 code warning, as expected