summaryrefslogtreecommitdiff
path: root/test/files/specialized/spec-t3896.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/specialized/spec-t3896.scala')
-rw-r--r--test/files/specialized/spec-t3896.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/specialized/spec-t3896.scala b/test/files/specialized/spec-t3896.scala
index 3a3be3da2b..3c849036c1 100644
--- a/test/files/specialized/spec-t3896.scala
+++ b/test/files/specialized/spec-t3896.scala
@@ -1,7 +1,7 @@
// see ticket #3896. Tests interaction between overloading, specialization and default params
trait Atomic[@specialized(Boolean) T] {
def x: T
-
+
// crash depends on the overloading: if second method is "g", no crash.
def f(fn: T => T): Boolean = f(fn(x))
def f[R](a: T, b: R = true) = b
@@ -14,7 +14,7 @@ object Test {
val x = e.f( (a : Boolean) => !a ) // ok
println( e.f( (a : Boolean) => !a ).toString ) // ok
println( e.f( (a : Boolean) => !a) ) // compiler crash
-
+
println(runtime.BoxesRunTime.integerBoxCount)
}
}