diff options
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/interpreter.check | 7 | ||||
-rw-r--r-- | test/files/run/interpreter.scala | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/test/files/run/interpreter.check b/test/files/run/interpreter.check index b07f69ea2e..4b31bc1445 100644 --- a/test/files/run/interpreter.check +++ b/test/files/run/interpreter.check @@ -171,4 +171,9 @@ scala> scala> | | You typed two blank lines. Starting a new command. scala> -scala> +scala> match: Int + +scala> x: Int = 1 + +scala> +scala>
\ No newline at end of file diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index 9b270f380a..5ad9953857 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -107,6 +107,9 @@ there (1 + // give up early by typing two blank lines +// defining and using quoted names should work (ticket #323) +def `match` = 1 +val x = `match` </code>.text |