summaryrefslogtreecommitdiff
path: root/test/files/neg/protected.check
blob: 23a5865dab721dc3d362dadceafd9a4474fe6e9b (plain) (blame)
1
2
3
4
5
protected.scala:11: error overriding method y in class A;
 method y in class B has weaker access privileges; it should not be protected
    protected def y(): int;
                  ^
one error found