summaryrefslogtreecommitdiff
path: root/test/files/run/lazy-exprs.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/lazy-exprs.check')
-rw-r--r--test/files/run/lazy-exprs.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/files/run/lazy-exprs.check b/test/files/run/lazy-exprs.check
new file mode 100644
index 0000000000..2aaa0be3f6
--- /dev/null
+++ b/test/files/run/lazy-exprs.check
@@ -0,0 +1,10 @@
+forced <z1>
+lazy val in scrutinee: ok
+forced <z1>
+lazy val in case: ok
+lazy val in case: forced <z1>
+ok
+lazy val in if condition: forced <z1>
+ok
+lazy val in pattern: forced LazyField
+ok