aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/t32/if_block.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/t32/if_block.cmm')
-rw-r--r--tests/indent/t32/if_block.cmm49
1 files changed, 49 insertions, 0 deletions
diff --git a/tests/indent/t32/if_block.cmm b/tests/indent/t32/if_block.cmm
new file mode 100644
index 000000000..e85b5e714
--- /dev/null
+++ b/tests/indent/t32/if_block.cmm
@@ -0,0 +1,49 @@
+IF &a
+ STOP
+
+IF (TRUE())
+(
+ BREAK
+)
+
+IF (&b+CouNT())
+(
+ continue
+)
+
+IF FOUND()
+ STOP
+ELSE
+ CONTinue
+
+IF &c
+ CONTinue
+ELSE IF FALSE()
+ Break
+ELSE
+ stop
+
+IF &d
+(
+ STOP
+)
+ELSE IF &e
+; comment A
+(
+ CONTINUE
+)
+ELSE
+; comment B
+(
+ BREAK
+)
+
+IF &f
+ IF &g
+ stop
+ ELSE
+ IF &h
+ (
+ continue
+ )
+