summaryrefslogtreecommitdiff
path: root/cloog-core/test/logopar.cloog
diff options
context:
space:
mode:
Diffstat (limited to 'cloog-core/test/logopar.cloog')
-rw-r--r--cloog-core/test/logopar.cloog33
1 files changed, 33 insertions, 0 deletions
diff --git a/cloog-core/test/logopar.cloog b/cloog-core/test/logopar.cloog
new file mode 100644
index 0000000..37114ae
--- /dev/null
+++ b/cloog-core/test/logopar.cloog
@@ -0,0 +1,33 @@
+# language: C
+c
+
+# Context
+3 4
+# m n 1
+1 1 -1 0 # m > n
+1 1 0 0 # m >= 0
+1 0 1 -2 # n >= 2
+1
+m n
+
+2 # Number of statements
+
+1
+3 6
+# i j m n 1
+1 1 0 0 0 -1 # i >= 1
+1 0 -1 1 0 0 # j <= m
+1 -1 1 0 0 1 # j >= i-1
+0 0 0
+
+1
+4 6
+# i j m n 1
+1 1 0 0 0 -2 # i >= 2
+1 -1 0 0 1 0 # i <= n
+1 0 1 0 0 0 # j >= 0
+1 0 -1 0 1 0 # j <= n
+0 0 0
+0
+
+0 # Scattering functions