]> andersk Git - splint.git/blobdiff - test/sizeoftest.expect
Made allocations involving sizeof work correctly (test/malloc.c).
[splint.git] / test / sizeoftest.expect
index 223775ed85ce5974bb4029224cb2bc2a56e817ba..5d6a0e9ad920005bbd4f29da9ef44572e375b418 100644 (file)
@@ -1,8 +1,9 @@
 
 sizeof.c: (in function main)
-sizeof.c:6:2: Possible out-of-bounds store.  Unable to resolve constraint:
-    requires: : ( 2 )   >=  ( 3 ) 
+sizeof.c:6:2: Likely out-of-bounds store: x[(sizeof(x))]
+    Unable to resolve constraint:
+    requires 2 >= 3
      needed to satisfy precondition:
-    requires: : maxSet ((x @ sizeof.c:6:2 ) )  >=  ( 3 ) 
+    requires maxSet(x @ sizeof.c:6:2) >= 3
 
-Finished LCLint checking --- 1 code error found
+Finished checking --- 1 code warning, as expected
This page took 0.053583 seconds and 4 git commands to generate.