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