]> andersk Git - splint.git/blobdiff - test/moreBufferTests2.expect
Added test case for pproblem with typedefs and fixed size arrays.
[splint.git] / test / moreBufferTests2.expect
index 64a539e96ca9c749469faa5fb9f3114a66e30b67..c95ca7d03bc58d1be4ee8313420bdb3ce12a4dd7 100644 (file)
@@ -7,3 +7,13 @@ unknownsize.c:9:3: Possible out-of-bounds store:
     requires maxSet(c @ unknownsize.c:9:3) >= 9
 
 Finished checking --- 1 code warning, as expected
+
+fixedArrayType.c: (in function fixedArrayTouch)
+fixedArrayType.c:9:3: Possible out-of-bounds store:
+    Unable to resolve constraint:
+    requires sizeof(Array) @ fixedArrayType.c:9:23 <= 10
+     needed to satisfy precondition:
+    requires maxSet(buffer @ fixedArrayType.c:9:3) >= sizeof(Array) @
+    fixedArrayType.c:9:23 - 1
+
+Finished checking --- 1 code warning, as expected
This page took 0.033103 seconds and 4 git commands to generate.