aboutsummaryrefslogtreecommitdiff
path: root/tests/icon/reject/step_multiple_bindings.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/icon/reject/step_multiple_bindings.zc')
-rw-r--r--tests/icon/reject/step_multiple_bindings.zc10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/icon/reject/step_multiple_bindings.zc b/tests/icon/reject/step_multiple_bindings.zc
new file mode 100644
index 0000000..d1dba73
--- /dev/null
+++ b/tests/icon/reject/step_multiple_bindings.zc
@@ -0,0 +1,10 @@
+include rt;
+include run;
+include icon;
+fn main() {
+ let q = run.tokens("int n = 1, m = 2;");
+ let f = icon.begin(q);
+ rt.put_n(icon.step(f)); rt.put_c(' '); rt.put_n(icon.state(f)); rt.put_c(' '); rt.put_n(icon.error()); rt.put_c(' '); rt.put_n(icon.local_count(f)); rt.put_c(10);
+ icon.close(d*f);
+ return 0;
+}