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

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

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