aboutsummaryrefslogtreecommitdiff
path: root/tests/i/standard-while/program.cps
diff options
context:
space:
mode:
Diffstat (limited to 'tests/i/standard-while/program.cps')
-rw-r--r--tests/i/standard-while/program.cps6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/i/standard-while/program.cps b/tests/i/standard-while/program.cps
new file mode 100644
index 0000000..b610bca
--- /dev/null
+++ b/tests/i/standard-while/program.cps
@@ -0,0 +1,6 @@
+DECLARE X : INTEGER
+X <- 0
+WHILE X < 2
+ X <- X + 1
+ENDWHILE
+OUTPUT X