summaryrefslogtreecommitdiff
path: root/test/files/run/literals.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/literals.scala')
-rw-r--r--test/files/run/literals.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/files/run/literals.scala b/test/files/run/literals.scala
index b0077aec9d..50da72b655 100644
--- a/test/files/run/literals.scala
+++ b/test/files/run/literals.scala
@@ -12,7 +12,7 @@ object Test {
def \u03b1\u03c1\u03b5\u03c4\u03b7 = "alpha rho epsilon tau eta";
case class GGG(i:int) {
- def \u21a1\u21a1( that:GGG ) = that;
+ def \u03b1\u03b1( that:GGG ) = i+that.i;
}
def check_success[a](name: String, closure: => a, expected: a): Unit = {
Console.print("test " + name);
@@ -126,10 +126,10 @@ object Test {
Console.println;
check_success("\"\".length()", "\u001a".length(), 1);
-/*
- val ggg = GGG( 1 ) \u21a1\u21a1 GGG( 2 );
- check_success("ggg == GGG( 2 )", ggg, GGG( 2 ));
-*/
+
+ val ggg = GGG( 1 ) \u03b1\u03b1 GGG( 2 );
+ check_success("ggg == 3", ggg, 3);
+
}
}