aboutsummaryrefslogtreecommitdiff
path: root/tests/run/t5629b.check
diff options
context:
space:
mode:
authorDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-19 15:06:00 +0200
committerDmitry Petrashko <dmitry.petrashko@gmail.com>2015-06-19 16:48:50 +0200
commitd3819ce631310baab00c44a0d1845b267d60bcdd (patch)
tree0465fd4875e4e61366d3f719c64e498562f3bc80 /tests/run/t5629b.check
parentb71650f367a97536a2fbb6ecaae0e046651ae9f5 (diff)
downloaddotty-d3819ce631310baab00c44a0d1845b267d60bcdd.tar.gz
dotty-d3819ce631310baab00c44a0d1845b267d60bcdd.tar.bz2
dotty-d3819ce631310baab00c44a0d1845b267d60bcdd.zip
Enable t5629b.
Was also fixed in this PR.
Diffstat (limited to 'tests/run/t5629b.check')
-rw-r--r--tests/run/t5629b.check10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run/t5629b.check b/tests/run/t5629b.check
new file mode 100644
index 000000000..e0f25f0b0
--- /dev/null
+++ b/tests/run/t5629b.check
@@ -0,0 +1,10 @@
+=== pf(1):
+MySmartPF.apply entered...
+newPF.applyOrElse entered...
+default
+scala.MatchError: 1 (of class java.lang.Integer)
+=== pf(42):
+MySmartPF.apply entered...
+newPF.applyOrElse entered...
+ok
+=== done