aboutsummaryrefslogtreecommitdiff
path: root/test2.lang
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test2.lang7
1 files changed, 6 insertions, 1 deletions
diff --git a/test2.lang b/test2.lang
index 55d7a14af..73c6d206e 100644
--- a/test2.lang
+++ b/test2.lang
@@ -30,8 +30,13 @@
(if true
(let xs+ys (#Cons "Pattern" (#Cons "Matching" #Nil))
(case xs+ys
+ (#Cons "Pattern" (#Cons second #Nil))
+ (do (:: (:: System out) (println "Branch #1"))
+ (:: (:: System out) (println second)))
+
(#Cons first (#Cons second #Nil))
- (do (:: (:: System out) (println first))
+ (do (:: (:: System out) (println "Branch #2"))
+ (:: (:: System out) (println first))
(:: (:: System out) (println second)))))
(:: (:: System out) (println "FALSE"))))