diff options
author | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-12-03 18:46:53 +0000 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@epfl.ch> | 2010-12-03 18:46:53 +0000 |
commit | 3a783937bf97a9180e303da90cea8077f75d3e9b (patch) | |
tree | 741da315cfe89ac75b2a299ab9c031d6795c28b7 /test/files/neg/t3946.check | |
parent | 843efeab1b41d5ba69aaee35498004849a58ae84 (diff) | |
download | scala-3a783937bf97a9180e303da90cea8077f75d3e9b.tar.gz scala-3a783937bf97a9180e303da90cea8077f75d3e9b.tar.bz2 scala-3a783937bf97a9180e303da90cea8077f75d3e9b.zip |
close #3946.
Diffstat (limited to 'test/files/neg/t3946.check')
-rw-r--r-- | test/files/neg/t3946.check | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/files/neg/t3946.check b/test/files/neg/t3946.check new file mode 100644 index 0000000000..6379b50dba --- /dev/null +++ b/test/files/neg/t3946.check @@ -0,0 +1,5 @@ +S_1.scala:3: error: overriding method m in class J of type ()Unit; + method m has weaker access privileges; it should be at least protected[p] + override protected def m { } + ^ +one error found |