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.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/exoticnames.scala b/test/files/run/exoticnames.scala
new file mode 100644
index 0000000000..7c8dcea5e8
--- /dev/null
+++ b/test/files/run/exoticnames.scala
@@ -0,0 +1,7 @@
+// this is a run-test because the compiler should emit bytecode that'll pass the JVM's verifier
+object Test extends Application {
+ def `(` = error("bla")
+ def `.` = error("bla")
+ def `)` = error("bla")
+ def `,` = error("bla")
+} \ No newline at end of file