ref: 68111eb68c383a0a0166b452ba5b4e7c50afb5a0
parent: 3cb873827cfb046e36a7b7e32a707a5b7aa96426
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Tue Nov 16 03:22:18 EST 2021
tests/cc: Add 0193-incomplete.c
--- /dev/null
+++ b/tests/cc/execute/0193-incomplete.c
@@ -1,0 +1,13 @@
+struct dummy;
+
+void *
+fun(struct dummy p[])
+{
+ return p;
+}
+
+int
+main()
+{
+ return 0 != fun(0);
+}
--- a/tests/cc/execute/scc-tests.lst
+++ b/tests/cc/execute/scc-tests.lst
@@ -183,3 +183,4 @@
0190-enum-ary.c
0191-ary-addr.c
0192-ptrcmp.c
+0193-incomplete.c