Skip to content

Commit 48f831a

Browse files
committed
Fix array test cases
1 parent bd992b0 commit 48f831a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/tools/sotoc/test/arrays/static_variable_length_array_2d.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ int main(){
1717
}
1818

1919
for (j = 0; j < size; j+=64) {
20-
printf("%.2f %.2f",A[j][0],A[j][1]);
20+
printf("%.2f %.2f ",A[j][0],A[j][1]);
2121
}
2222
return 0;
2323
}

clang/tools/sotoc/test/arrays/static_variable_length_array_3d.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ int main(){
2020
}
2121

2222
for (j = 0; j < size; j+=64) {
23-
printf("%.2f %.2f",A[j][0][3],A[j][1][2]);
23+
printf("%.2f %.2f ",A[j][0][3],A[j][1][2]);
2424
}
2525
return 0;
2626
}

0 commit comments

Comments
 (0)