We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c1f7bb commit 652bf92Copy full SHA for 652bf92
regression/goto-harness/void-star-pointer/main.c
@@ -0,0 +1,6 @@
1
+#include <assert.h>
2
+
3
+void test_function(void *input)
4
+{
5
+ assert(input == 0);
6
+}
regression/goto-harness/void-star-pointer/test.desc
@@ -0,0 +1,10 @@
+CORE
+main.c
+--harness-type call-function --function test_function
+\[test_function\.assertion\.1\] line \d+ assertion input == 0: SUCCESS
+^VERIFICATION SUCCESSFUL$
+^EXIT=0$
7
+^SIGNAL=0$
8
+--
9
10
+Ensure the harness is able to initalize a void* ptr to a null value.
0 commit comments