shithub: scc

Download patch

ref: 52549a2648ebf58b4d31fae7290ad5651638046c
parent: fb16e02819fe22bd86121505af1c58782ba18bba
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Nov 11 03:09:56 EST 2021

tests/cc: Improve 0139-ptr-ary.c

Different return values helps while debugging.

--- a/tests/cc/execute/0139-ptr-ary.c
+++ b/tests/cc/execute/0139-ptr-ary.c
@@ -12,11 +12,11 @@
 	if (arr[1][3] != 2)
 		return 1;
 	if (p[1][3] != 2)
-		return 1;
+		return 2;
 	if (*q != 2)
-		return 1;
+		return 3;
 	if (*v != 2)
-		return 1;
+		return 4;
 
 	return 0;
 }