diff --git a/tests/pos/named-tuple-downcast.scala b/tests/pos/named-tuple-downcast.scala index 239089b60c3d..b9876623faf2 100644 --- a/tests/pos/named-tuple-downcast.scala +++ b/tests/pos/named-tuple-downcast.scala @@ -1,3 +1,5 @@ +import scala.language.experimental.namedTuples + type Person = (name: String, age: Int) val Bob: Person = (name = "Bob", age = 33)