]> andersk Git - splint.git/blobdiff - test/unioninit.expect
Added checking for union initializers.
[splint.git] / test / unioninit.expect
diff --git a/test/unioninit.expect b/test/unioninit.expect
new file mode 100644 (file)
index 0000000..0c1cf5b
--- /dev/null
@@ -0,0 +1,7 @@
+
+unioninit.c:11:23: Initializer block for union test3 has 2 elements, union
+                      initializers should have one element: 0, 1
+unioninit.c:13:25: Initial value of test4.test2_s is type long int, expects
+                      short int: 23L
+
+Finished checking --- 2 code warnings, as expected
This page took 0.024348 seconds and 4 git commands to generate.