commit 44acca3ccc9401ec42b10ea4f0d5fbb072faf874
parent 46304892ba34a7e74a604095bf375207d39e33f9
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 1 Nov 2021 20:45:06 +0100
tests/cc: Enable 0118-voidmain.c
Diffstat:
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/tests/cc/execute/0118-voidmain.c b/tests/cc/execute/0118-voidmain.c
@@ -1,7 +1,14 @@
int main(void);
+int f();
+
+int
+f(int a)
+{
+ return a;
+}
int
main()
{
- return 0;
+ return f(0);
}
diff --git a/tests/cc/execute/scc-tests.lst b/tests/cc/execute/scc-tests.lst
@@ -108,7 +108,7 @@
0115-null-comparision.c
0116-floatcmp.c [TODO]
0117-pointarith.c
-0118-voidmain.c [TODO]
+0118-voidmain.c
0119-macrostr.c
0120-funpar.c
0121-localinit.c [TODO]