summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2016-01-18 16:46:23 +1000
committerJason Zaugg <jzaugg@gmail.com>2016-01-18 16:46:23 +1000
commita5cad0d6fd2c0d3552db9f9f97886168ba0c6003 (patch)
treede58df7aff11e94b934f7853f430cb31baed7491 /test/files
parentd16918db010b2805677254e748a617c417df98ec (diff)
parenta7623cb489e34c37fee86412a7bc5b93c32c8369 (diff)
downloadscala-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.scala4
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
}