summaryrefslogtreecommitdiff
path: root/test/overlap.cloog
diff options
context:
space:
mode:
Diffstat (limited to 'test/overlap.cloog')
-rw-r--r--test/overlap.cloog35
1 files changed, 35 insertions, 0 deletions
diff --git a/test/overlap.cloog b/test/overlap.cloog
new file mode 100644
index 0000000..4c1f717
--- /dev/null
+++ b/test/overlap.cloog
@@ -0,0 +1,35 @@
+# language: C
+c
+
+# parameter {n d | n >= 0 d >= 0}
+2 4
+# n d 1
+1 1 0 0
+1 0 1 0
+1
+n d
+
+2 # Number of statements:
+
+1
+# {i, j | n<=i<=2*n n<=j<=2*n}
+4 6
+# i j n d 1
+1 1 0 -1 0 0
+1 -1 0 2 0 0
+1 0 1 -1 0 0
+1 0 -1 2 0 0
+0 0 0
+
+1
+# {i, j | n+d<=i<=2*n+d n+d<=j<=2*n+d}
+4 6
+# i j n d 1
+1 1 0 -1 -1 0
+1 -1 0 2 1 0
+1 0 1 -1 -1 0
+1 0 -1 2 1 0
+0 0 0
+0
+
+0 # Scattering functions