]> andersk Git - splint.git/blobdiff - test/constannot.expect
Fixed pre-processing bug reported by Adam Clarke. Moved marking point
[splint.git] / test / constannot.expect
index 87aeb49fe2773ca8ed1276a904273506c93cde45..6cb0756339a74f3cce8ea1dad755371f04af1289 100644 (file)
@@ -1,15 +1,19 @@
 
 constannot.c: (in function foo2)
-constannot.c:11:3: Possible out-of-bounds store.  Unable to resolve constraint:
+constannot.c:11:3: Possible out-of-bounds store:
+    str[20]
+    Unable to resolve constraint:
     requires maxSet(str @ constannot.c:11:3) >= 20
      needed to satisfy precondition:
     requires maxSet(str @ constannot.c:11:3) >= 20
 constannot.c: (in function foo3)
-constannot.c:20:3: Possible out-of-bounds store.  Unable to resolve constraint:
+constannot.c:20:3: Possible out-of-bounds store:
+    foo(buf)
+    Unable to resolve constraint:
     requires <const int=20> <= 19
      needed to satisfy precondition:
     requires maxSet(buf @ constannot.c:20:8) >= <const int=20>
      derived from foo precondition: requires maxSet(<parameter 1>) >= <const
     int=20>
 
-Finished LCLint checking --- 2 code errors found, as expected
+Finished checking --- 2 code warnings, as expected
This page took 0.196342 seconds and 4 git commands to generate.