X-Git-Url: http://andersk.mit.edu/gitweb/splint.git/blobdiff_plain/03d670b689457f045987972826e570fb1e89c915..d26c96673d5f313acdb856ccfae7df4eb4628eaf:/test/sizeoftest.expect diff --git a/test/sizeoftest.expect b/test/sizeoftest.expect index 223775e..e7cd00a 100644 --- a/test/sizeoftest.expect +++ b/test/sizeoftest.expect @@ -1,8 +1,10 @@ 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: Possible 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