summaryrefslogtreecommitdiff
path: root/test/files/run/t3530.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t3530.scala')
-rw-r--r--test/files/run/t3530.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/t3530.scala b/test/files/run/t3530.scala
index f6f7fb4229..3fedc66dbe 100644
--- a/test/files/run/t3530.scala
+++ b/test/files/run/t3530.scala
@@ -5,7 +5,7 @@ object Test {
case xs @ List(_*) => "list: " + xs.length
case _ => "not a list"
})
-
+
def f2[T](x: List[T]) = println(x match {
case List(_, _) => "two"
case List(_, _, _) => "three"
@@ -21,9 +21,9 @@ object Test {
f(Nil)
f(List(1,2,3,4,5))
f(null)
-
+
println
-
+
f2(List(1, 2))
f2(List('a', 'b', 'c'))
f2(List('a', 'b', 'c', 'd'))