summaryrefslogtreecommitdiff
path: root/test/files/pos/t4351.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t4351.scala')
-rw-r--r--test/files/pos/t4351.scala20
1 files changed, 0 insertions, 20 deletions
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