ref: 44acca3ccc9401ec42b10ea4f0d5fbb072faf874
parent: 46304892ba34a7e74a604095bf375207d39e33f9
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Nov 1 16:45:06 EDT 2021
tests/cc: Enable 0118-voidmain.c
--- 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);
}
--- 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]