summaryrefslogtreecommitdiff
path: root/test/files/neg/bug1960.scala
blob: af7f27035681672cc4faeef8b00ba79a4b56a8aa (plain) (blame)
1
2
3
4
5
object ClassFormatErrorExample extends App { new Aclass(1) }

trait TBase { var p:Int = 0; def f(p1: Int) {} }

class Aclass (p: Int) extends TBase { def g{ f(p) } }