diff options
Diffstat (limited to 'tests/run/exoticnames.scala')
-rw-r--r-- | tests/run/exoticnames.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run/exoticnames.scala b/tests/run/exoticnames.scala new file mode 100644 index 000000000..beaea15b1 --- /dev/null +++ b/tests/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 dotty.runtime.LegacyApp { + def `(` = sys.error("bla") + def `.` = sys.error("bla") + def `)` = sys.error("bla") + def `,` = sys.error("bla") +} |