diff options
Diffstat (limited to 'test/files/pos/testcast.scala')
-rw-r--r-- | test/files/pos/testcast.scala | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/files/pos/testcast.scala b/test/files/pos/testcast.scala deleted file mode 100644 index 631b2c922b..0000000000 --- a/test/files/pos/testcast.scala +++ /dev/null @@ -1,26 +0,0 @@ -package test; - -class A; - -class B extends A { - def foo: int = 1; -} - -object B { - def view(x: B): B1 = null; -} - -class B1 { - def bar: int = 1 -} - -object C { - implicit def view(x: A): B1 = null; -} -object Test { - import C.view; - - val b: B = null; - - System.out.println(b.bar); -} |