]> andersk Git - splint.git/blobdiff - test/init.expect
Some work on the files in os2/, removed unnecessary
[splint.git] / test / init.expect
index c2dbded380823eaacbabcb603d06fd82ac2520e4..f87a9c24a4cc9fa4e7ee4c3ef491397413fdbecf 100644 (file)
@@ -4,8 +4,8 @@ init.c:1:43: Initial value of c[2][2] is type int, expects char: 3
 init.c:1:48: Global c[3] initialized to null value: c[3] = NULL
 init.c:4:23: Global st.uname initialized to null value: st.uname = NULL
 init.c:4:29: Initial value of st.y is type double, expects int: 1.2
-init.c:7:7: Initializer block for st2[0] has 3 fields, but struct has 4 fields:
-               "bob", { 1, 2 }, NULL
+init.c:7:7: Initializer block for st2[0] has 3 fields, but struct { char *
+    name; int [] x; char * uname;, ... } has 4 fields: "bob", { 1, 2 }, NULL
 init.c:8:19: Initial value of st2[1].x is type int, expects int []: 3
 init.c:8:22: Global st2[1].uname initialized to null value: st2[1].uname = NULL
 init.c:10:27: Initial value of a[4] is type double, expects int: 3.4
@@ -24,8 +24,8 @@ init.c:4:7: Read-only string literal storage used as initial value for
                unqualified storage: st.name = "bob"
 init.c:4:23: Global st.uname initialized to null value: st.uname = NULL
 init.c:4:29: Initial value of st.y is type double, expects int: 1.2
-init.c:7:7: Initializer block for st2[0] has 3 fields, but struct has 4 fields:
-               "bob", { 1, 2 }, NULL
+init.c:7:7: Initializer block for st2[0] has 3 fields, but struct { char *
+    name; int [] x; char * uname;, ... } has 4 fields: "bob", { 1, 2 }, NULL
 init.c:8:9: Read-only string literal storage used as initial value for
                unqualified storage: st2[1].name = "charly"
 init.c:8:19: Initial value of st2[1].x is type int, expects int []: 3
This page took 0.042641 seconds and 4 git commands to generate.