diff options
author | buraq <buraq@epfl.ch> | 2004-05-11 14:52:45 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-05-11 14:52:45 +0000 |
commit | 4fefd6bb118033c24874b799e2c15947521f10a2 (patch) | |
tree | a11135dd27db6a18e01457f26af626fe587ad45d /test/files/run/literals.scala | |
parent | 1b9f47f3e3f015944b3b92c9d5d3fde552b110b2 (diff) | |
download | scala-4fefd6bb118033c24874b799e2c15947521f10a2.tar.gz scala-4fefd6bb118033c24874b799e2c15947521f10a2.tar.bz2 scala-4fefd6bb118033c24874b799e2c15947521f10a2.zip |
seq have to be escaped
Diffstat (limited to 'test/files/run/literals.scala')
-rw-r--r-- | test/files/run/literals.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/literals.scala b/test/files/run/literals.scala index a99c7c1be7..6d7647009d 100644 --- a/test/files/run/literals.scala +++ b/test/files/run/literals.scala @@ -9,8 +9,12 @@ object Test { import java.lang.System.out; /* I add a couple of Unicode identifier tests here temporarily */ + def \u03b1\u03c1\u03b5\u03c4\u03b7 = "alpha rho epsilon tau eta"; + case class GGG(i:int) { + def \u21a1\u21a1( that:GGG ) = that; + } def check_success[a](name: String, def closure: a, expected: a): Unit = { out.print("test " + name); try { @@ -121,6 +125,8 @@ object Test { out.println(); check_success("\"\\u001a\".length()", "\u001a".length(), 1); + val ggg = GGG( 1 ) \u21a1\u21a1 GGG( 2 ); + check_success("ggg == GGG( 2 )", ggg, GGG( 2 )); } } |