diff options
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/native-warning.flags | 1 | ||||
-rw-r--r-- | test/files/pos/native-warning.scala | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/files/pos/native-warning.flags b/test/files/pos/native-warning.flags new file mode 100644 index 0000000000..65faf53579 --- /dev/null +++ b/test/files/pos/native-warning.flags @@ -0,0 +1 @@ +-Xfatal-warnings -deprecation
\ No newline at end of file diff --git a/test/files/pos/native-warning.scala b/test/files/pos/native-warning.scala new file mode 100644 index 0000000000..f721a57e8f --- /dev/null +++ b/test/files/pos/native-warning.scala @@ -0,0 +1,3 @@ +class A { + @native def setup(): Unit +} |