summaryrefslogtreecommitdiff
path: root/test-chill/test-cases/examples/chill/scalar_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-chill/test-cases/examples/chill/scalar_test.c')
-rw-r--r--test-chill/test-cases/examples/chill/scalar_test.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/test-chill/test-cases/examples/chill/scalar_test.c b/test-chill/test-cases/examples/chill/scalar_test.c
new file mode 100644
index 0000000..733c882
--- /dev/null
+++ b/test-chill/test-cases/examples/chill/scalar_test.c
@@ -0,0 +1,16 @@
+int a[10][10];
+int main() {
+
+ int temp;
+ int i, j;
+
+ for (i = 0; i < 10; i++) {
+ for (j = 0; j < 10; j++) {
+ a[i + 1][j - 1] = a[i][j];
+ }
+
+ }
+
+ return 0;
+
+}