summaryrefslogtreecommitdiff
path: root/test/files/run/t9806.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t9806.scala')
-rw-r--r--test/files/run/t9806.scala18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/files/run/t9806.scala b/test/files/run/t9806.scala
deleted file mode 100644
index ccde989efe..0000000000
--- a/test/files/run/t9806.scala
+++ /dev/null
@@ -1,18 +0,0 @@
-object Ex extends Exception
-object Test {
- def main(args: Array[String]) {
- try foo catch { case Ex => }
- }
-
- def isTrue(b: Boolean) = b
- def foo = {
- var streamErrors1 = true
- try {
- streamErrors1 = false
- throw Ex
- } catch {
- case ex if streamErrors1 =>
- assert(isTrue(streamErrors1))
- }
- }
-}