summaryrefslogtreecommitdiff
path: root/test/nul_basic1.cloog
diff options
context:
space:
mode:
Diffstat (limited to 'test/nul_basic1.cloog')
-rw-r--r--test/nul_basic1.cloog28
1 files changed, 28 insertions, 0 deletions
diff --git a/test/nul_basic1.cloog b/test/nul_basic1.cloog
new file mode 100644
index 0000000..878bd89
--- /dev/null
+++ b/test/nul_basic1.cloog
@@ -0,0 +1,28 @@
+# Optimal code is in fact :
+#
+# for (i=0;i<=M;i+=2) {
+# S1 ;
+# }
+
+# language: C
+c
+
+# parameter n
+1 3
+# n 1
+1 0 1
+0
+
+1 # Number of statements
+
+1
+# {i, j | i=2*j; 0<=i<=n}
+3 5
+# i j n 1
+0 1 -2 0 0
+1 1 0 0 0
+1 -1 0 1 0
+0 0 0
+0
+
+0 # Scattering functions