summaryrefslogtreecommitdiff
path: root/test/files/run/exoticnames.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/exoticnames.scala')
-rw-r--r--test/files/run/exoticnames.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/exoticnames.scala b/test/files/run/exoticnames.scala
index fa0e5e6ec5..98f9a88776 100644
--- a/test/files/run/exoticnames.scala
+++ b/test/files/run/exoticnames.scala
@@ -1,7 +1,7 @@
// this is a run-test because the compiler should emit bytecode that'll pass the JVM's verifier
object Test extends App {
- def `(` = error("bla")
- def `.` = error("bla")
- def `)` = error("bla")
- def `,` = error("bla")
+ def `(` = sys.error("bla")
+ def `.` = sys.error("bla")
+ def `)` = sys.error("bla")
+ def `,` = sys.error("bla")
}