summaryrefslogtreecommitdiff
path: root/test/files/pos
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos')
-rw-r--r--test/files/pos/t4351.check1
-rw-r--r--test/files/pos/t4351.scala20
2 files changed, 0 insertions, 21 deletions
diff --git a/test/files/pos/t4351.check b/test/files/pos/t4351.check
deleted file mode 100644
index cb5d407e13..0000000000
--- a/test/files/pos/t4351.check
+++ /dev/null
@@ -1 +0,0 @@
-runtime exception
diff --git a/test/files/pos/t4351.scala b/test/files/pos/t4351.scala
deleted file mode 100644
index 2d57588793..0000000000
--- a/test/files/pos/t4351.scala
+++ /dev/null
@@ -1,20 +0,0 @@
-object Test {
- def main(args: Array[String]): Unit = {
- try new BooleanPropImpl() value
- catch {
- case e: RuntimeException => println("runtime exception")
- }
- }
-}
-
-trait Prop[@specialized(Boolean) +T] {
- def value: T
-}
-
-class PropImpl[+T] extends Prop[T] {
- def value: T = scala.sys.error("")
-}
-
-trait BooleanProp extends Prop[Boolean]
-
-class BooleanPropImpl() extends PropImpl[Boolean] with BooleanProp