]> andersk Git - splint.git/blobdiff - test/for.expect
Made allocations involving sizeof work correctly (test/malloc.c).
[splint.git] / test / for.expect
index 22aa76a407a05f98386437f0eb64d3f513962340..e1054c930a01625f5ea5771f78495089d90a3e89 100644 (file)
@@ -1,8 +1,9 @@
 
 for.c: (in function f)
-for.c:13:5: Unresolved constraint:
-    Lclint is unable to resolve Requires: : (i @ for.c:13:7 )   <=  ( 10 ) 
-    needed to satisfy Requires: : MAXSET ((t @ for.c:13:5 ) )  >=  (i @
-    for.c:13:7 ) 
+for.c:13:5: Possible out-of-bounds store: t[i]
+    Unable to resolve constraint:
+    requires i @ for.c:13:7 <= 10
+     needed to satisfy precondition:
+    requires maxSet(t @ for.c:13:5) >= i @ for.c:13:7
 
-Finished LCLint checking --- 1 code error found
+Finished checking --- 1 code warning, as expected
This page took 0.10087 seconds and 4 git commands to generate.