]> andersk Git - splint.git/blame - test/stringliteral.expect
noexpand always false.
[splint.git] / test / stringliteral.expect
CommitLineData
98b591d2 1
98b591d2 2stringliteral.c:3:16: String literal with 9 characters is assigned to char [8]
3 (no room for null terminator): "\000\000\000\000\000\000\000\001"
4stringliteral.c:4:16: String literal with 5 characters is assigned to char [4]
5 (no room for null terminator): "abcd"
6stringliteral.c:7:16: String literal with 7 characters (counting null
7 terminator) is assigned to char [4] (insufficient storage available):
8 "abcdef"
9
37ae0b5e 10Finished checking --- 3 code warnings, as expected
98b591d2 11
37ae0b5e 12stringliteral.c:2:15: String literal with 9 characters is assigned to char [8]
13 (no room for final null terminator): "\000\000\000\000\000\000\000\000"
98b591d2 14stringliteral.c:3:16: String literal with 9 characters is assigned to char [8]
15 (no room for null terminator): "\000\000\000\000\000\000\000\001"
16stringliteral.c:4:16: String literal with 5 characters is assigned to char [4]
17 (no room for null terminator): "abcd"
18stringliteral.c:7:16: String literal with 7 characters (counting null
19 terminator) is assigned to char [4] (insufficient storage available):
20 "abcdef"
21
37ae0b5e 22Finished checking --- 4 code warnings, as expected
This page took 1.642966 seconds and 5 git commands to generate.