shithub: scc

Download patch

ref: 32ceb290823b1ce38d54ab9117b9b2ff28c3a810
parent: 38c7097175035acfa9408b3826c2c8306e20349a
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Nov 1 13:55:35 EDT 2021

tests/cc: Fix 0177-literal.c

--- a/tests/cc/execute/0177-literal.c
+++ b/tests/cc/execute/0177-literal.c
@@ -1,6 +1,6 @@
-void boo(int *p)
+int boo(int *p)
 {
-	return (*p[1] == 2) ? 0 : 1;
+	return (p[1] == 2) ? 0 : 1;
 }
 
 int main()