summaryrefslogblamecommitdiff
path: root/test/files/neg/bug700.scala
blob: 7477bb54f6923302b250f74d4adc4456833e0a47 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                               
trait Foo {
  def foobar: Unit;
}

trait Bar extends Foo {
  def foobar: unit = super.foobar
}

// the following definition breaks the compiler
abstract class Foobar extends Bar