summaryrefslogtreecommitdiff
path: root/test/files/pos/native-warning.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/native-warning.scala')
-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
}