commit 9b38586bfdf96710475429246fd7b9823629a14b
parent 2822a9f75ecd345b724be923c48097233ee5b0f1
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:
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]);
}