diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-01-13 12:07:24 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-01-13 12:15:44 -0800 |
commit | a7623cb489e34c37fee86412a7bc5b93c32c8369 (patch) | |
tree | 171a94e6bf2dbc319c6e0026e4a27e8a355c9183 /test | |
parent | 334cbc720fd3020b59271bf060747bc2350e1f89 (diff) | |
download | scala-a7623cb489e34c37fee86412a7bc5b93c32c8369.tar.gz scala-a7623cb489e34c37fee86412a7bc5b93c32c8369.tar.bz2 scala-a7623cb489e34c37fee86412a7bc5b93c32c8369.zip |
SI-9622 Native method may be private
This was lost in a refactor.
https://github.com/scala/scala/commit/290f687fb6ab91b6aef62d871036ddc3829f12b4
Diffstat (limited to 'test')
-rw-r--r-- | test/files/pos/native-warning.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/native-warning.scala b/test/files/pos/native-warning.scala index f721a57e8f..a2918c11b5 100644 --- a/test/files/pos/native-warning.scala +++ b/test/files/pos/native-warning.scala @@ -1,3 +1,7 @@ class A { @native def setup(): Unit + + // also kosher + @native private def f(): Unit + @native final def g(): Unit } |