scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 30037a7e84c815e217ceacd71a7b7cd3bd47881d
parent 04f9f3d5db04a8ed64b0641378dbb1bab262f694
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 11 Nov 2021 18:02:17 +0100

tests/cc: Fix test 0167-array.c

The index was wrong in the second array making an out of bound access.

Diffstat:
Mtests/cc/execute/0167-array.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/cc/execute/0167-array.c b/tests/cc/execute/0167-array.c @@ -11,5 +11,5 @@ int arr2[2][3] = { int main(void) { - return !(arr1[1][2] == arr2[1][3]); + return !(arr1[1][2] == arr2[1][2]); }