]> andersk Git - splint.git/blobdiff - test/stringliteral.expect
Fixed problem with print format for +showalluses.
[splint.git] / test / stringliteral.expect
index 729b1284b96ac2400ee0b94551ffb3a0579e470f..a7d072a5e63fa83708df2538419b6635fa4e8485 100644 (file)
@@ -1,6 +1,4 @@
 
-stringliteral.c:2:15: String literal with 9 characters is assigned to char [8]
-    (no room for final null terminator): "\000\000\000\000\000\000\000\000"
 stringliteral.c:3:16: String literal with 9 characters is assigned to char [8]
     (no room for null terminator): "\000\000\000\000\000\000\000\001"
 stringliteral.c:4:16: String literal with 5 characters is assigned to char [4]
@@ -9,8 +7,10 @@ stringliteral.c:7:16: String literal with 7 characters (counting null
     terminator) is assigned to char [4] (insufficient storage available):
     "abcdef"
 
-Finished checking --- 4 code warnings, as expected
+Finished checking --- 3 code warnings, as expected
 
+stringliteral.c:2:15: String literal with 9 characters is assigned to char [8]
+    (no room for final null terminator): "\000\000\000\000\000\000\000\000"
 stringliteral.c:3:16: String literal with 9 characters is assigned to char [8]
     (no room for null terminator): "\000\000\000\000\000\000\000\001"
 stringliteral.c:4:16: String literal with 5 characters is assigned to char [4]
@@ -19,4 +19,4 @@ stringliteral.c:7:16: String literal with 7 characters (counting null
     terminator) is assigned to char [4] (insufficient storage available):
     "abcdef"
 
-Finished checking --- 3 code warnings, as expected
+Finished checking --- 4 code warnings, as expected
This page took 0.04332 seconds and 4 git commands to generate.