summaryrefslogtreecommitdiff
path: root/test/files/run/run-bug4840.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-27 00:52:47 +0000
committerPaul Phillips <paulp@improving.org>2011-07-27 00:52:47 +0000
commit401baad565218da34558318ebd1f65edb31b39c8 (patch)
tree6177a99518fe598e51dd3d02aa9666c4fd27bacb /test/files/run/run-bug4840.check
parent68031b3af11a2f79b186607f44d5c327051d19bd (diff)
downloadscala-401baad565218da34558318ebd1f65edb31b39c8.tar.gz
scala-401baad565218da34558318ebd1f65edb31b39c8.tar.bz2
scala-401baad565218da34558318ebd1f65edb31b39c8.zip
Fix/workaround for inliner bug uncovered by fin...
Fix/workaround for inliner bug uncovered by finalizing Option methods. Something in the backend is leaving open but empty blocks in the worklist. Rather than freaking out at the merest mention of an empty block, I quietly remove the empty ones. A proper fix will involve not leaving empty blocks lying around but we're on a schedule here people. Review by dragos.
Diffstat (limited to 'test/files/run/run-bug4840.check')
-rw-r--r--test/files/run/run-bug4840.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/files/run/run-bug4840.check b/test/files/run/run-bug4840.check
new file mode 100644
index 0000000000..cdfc1f911f
--- /dev/null
+++ b/test/files/run/run-bug4840.check
@@ -0,0 +1,2 @@
+Some(5)
+Some(Some(Some(5)))