commit 68111eb68c383a0a0166b452ba5b4e7c50afb5a0 parent 3cb873827cfb046e36a7b7e32a707a5b7aa96426 Author: Roberto E. Vargas Caballero <k0ga@shike2.com> Date: Tue, 16 Nov 2021 08:22:18 +0100 tests/cc: Add 0193-incomplete.c Diffstat:
| A | tests/cc/execute/0193-incomplete.c | | | 13 | +++++++++++++ |
| M | tests/cc/execute/scc-tests.lst | | | 1 | + |
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/tests/cc/execute/0193-incomplete.c b/tests/cc/execute/0193-incomplete.c @@ -0,0 +1,13 @@ +struct dummy; + +void * +fun(struct dummy p[]) +{ + return p; +} + +int +main() +{ + return 0 != fun(0); +} diff --git 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