summaryrefslogtreecommitdiff
path: root/test/files/neg/t6666c.scala
blob: 76cc358307a57f16488aa97edcc0a12c6370d078 (plain) (blame)
1
2
3
4
5
6
7
8
class C(a: Any)
class D extends C({def x = 0; object X { x }})

class C1(a: () => Any)
class D1 extends C1({def x = 0; () => {object X { x }}})

class C2(a: => Any)
class D2 extends C2({def x = 0; object X { x }})