]> andersk Git - splint.git/blobdiff - test/void.expect
Added some new test cases also merged with Dave Evans's tests.
[splint.git] / test / void.expect
diff --git a/test/void.expect b/test/void.expect
new file mode 100644 (file)
index 0000000..0366e58
--- /dev/null
@@ -0,0 +1,7 @@
+
+void.c: (in function f)
+void.c:5:3: Return value (type int) ignored: f()
+void.c:3:5: Function exported but not used outside void: f
+   void.c:7:1: Definition of f
+
+Finished LCLint checking --- 2 code errors found, as expected
This page took 0.084709 seconds and 4 git commands to generate.