shithub: scc

Download patch

ref: 433b9cd26eb5d27977eb8cde6bb1c019606e0ffa
parent: 4905c06d9a661cb71b7a6e4dec421996cbaa5779
author: Roberto E. Vargas Caballero <[email protected]>
date: Mon Nov 1 13:36:27 EDT 2021

tests/cc: Fix 0171-macros.c

--- a/tests/cc/execute/0171-macros.c
+++ b/tests/cc/execute/0171-macros.c
@@ -6,5 +6,5 @@
 int
 main(void)
 {
-	return X == L + H + Q(1);
+	return X == L + H + Q(1) ? 0 : 1;
 }
--- a/tests/cc/execute/scc-tests.lst
+++ b/tests/cc/execute/scc-tests.lst
@@ -161,7 +161,7 @@
 0168-array.c [TODO]
 0169-string.c [TODO]
 0170-line.c [TODO]
-0171-macros.c [TODO]
+0171-macros.c
 0172-hexa.c
 0173-macro.c
 0174-decay.c