summaryrefslogtreecommitdiff
path: root/test/files/run/idempotency-labels.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/idempotency-labels.check')
-rw-r--r--test/files/run/idempotency-labels.check15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/files/run/idempotency-labels.check b/test/files/run/idempotency-labels.check
new file mode 100644
index 0000000000..8709efeb43
--- /dev/null
+++ b/test/files/run/idempotency-labels.check
@@ -0,0 +1,15 @@
+2
+{
+ var x: Int = 0;
+ while$1(){
+ if (x.<(2))
+ {
+ x = x.+(1);
+ while$1()
+ }
+ else
+ ()
+ };
+ x
+}
+2