aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/pos/t1745/S.scala
blob: 84c437133818cfc45dae7cdb79bd4d97a15cdcc2 (plain) (blame)
1
2
3
4
5
6
7
case class S1(n: Int) { }
case class S2(n: Int, p: Int) { }
class S3 { }
object S3 {
  def foo() = "abc"
  def bar[T](x: T): T = x
}