diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2016-01-18 16:46:23 +1000 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2016-01-18 16:46:23 +1000 |
commit | a5cad0d6fd2c0d3552db9f9f97886168ba0c6003 (patch) | |
tree | de58df7aff11e94b934f7853f430cb31baed7491 /test/files | |
parent | d16918db010b2805677254e748a617c417df98ec (diff) | |
parent | a7623cb489e34c37fee86412a7bc5b93c32c8369 (diff) | |
download | scala-a5cad0d6fd2c0d3552db9f9f97886168ba0c6003.tar.gz scala-a5cad0d6fd2c0d3552db9f9f97886168ba0c6003.tar.bz2 scala-a5cad0d6fd2c0d3552db9f9f97886168ba0c6003.zip |
Merge pull request #4903 from som-snytt/issue/9622
SI-9622 Native method may be private
Diffstat (limited to 'test/files')
-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 } |