summaryrefslogtreecommitdiff
path: root/test/files/pos/native-warning.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-06-14 22:48:22 +0000
committerPaul Phillips <paulp@improving.org>2011-06-14 22:48:22 +0000
commitebfbe58d36e1a6f10c6780267950b7353c9502cc (patch)
tree1724966457115ecd508bdeafbb1eb18f93fdccad /test/files/pos/native-warning.scala
parente4f800b20550b62d5186130c6f06281f3df3ed90 (diff)
downloadscala-ebfbe58d36e1a6f10c6780267950b7353c9502cc.tar.gz
scala-ebfbe58d36e1a6f10c6780267950b7353c9502cc.tar.bz2
scala-ebfbe58d36e1a6f10c6780267950b7353c9502cc.zip
Update manually created tree which was calling ...
Update manually created tree which was calling Predef.error to call scala.sys.error instead. Created convenience functions in Definitions for getting package objects akin to those for getting classes and objects. No review.
Diffstat (limited to 'test/files/pos/native-warning.scala')
-rw-r--r--test/files/pos/native-warning.scala3
1 files changed, 3 insertions, 0 deletions
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
+}