Permalink
Browse files

Added test case for commit f7d5f45 (re SI-5552)

  • Loading branch information...
non committed May 14, 2012
1 parent f7d5f45 commit b6241963e61f1eaef1a53627197cc13afa0db234
Showing with 12 additions and 0 deletions.
  1. +2 −0 test/files/run/t5552.check
  2. +10 −0 test/files/run/t5552.scala
@@ -0,0 +1,2 @@
(3,3)
(3.0,3.0)
View
@@ -0,0 +1,10 @@
class C[@specialized(Int) A](a:A) {
lazy val b = (a, a)
def c = b
}
object Test {
def main(args:Array[String]) {
println(new C(3).c)
println(new C(3.0).c)
}
}

0 comments on commit b624196

Please sign in to comment.