summaryrefslogtreecommitdiff
path: root/test/files/run/t1427.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t1427.scala')
-rw-r--r--test/files/run/t1427.scala3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/files/run/t1427.scala b/test/files/run/t1427.scala
index 21bd71ffef..eeb2603c26 100644
--- a/test/files/run/t1427.scala
+++ b/test/files/run/t1427.scala
@@ -1,3 +1,6 @@
+
+import scala.language.{ higherKinds }
+
class Bob[K[_]] {
def foo(other: Any) = other match {
case x: (Bob[X] forSome { type X[_] }) => true