summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/files/run/bug601.check1
-rw-r--r--test/files/run/bug603.check5
-rw-r--r--test/files/run/bug603.scala2
3 files changed, 7 insertions, 1 deletions
diff --git a/test/files/run/bug601.check b/test/files/run/bug601.check
new file mode 100644
index 0000000000..7c2a4f6a15
--- /dev/null
+++ b/test/files/run/bug601.check
@@ -0,0 +1 @@
+FooA
diff --git a/test/files/run/bug603.check b/test/files/run/bug603.check
new file mode 100644
index 0000000000..1f40825021
--- /dev/null
+++ b/test/files/run/bug603.check
@@ -0,0 +1,5 @@
+s = Susp(?)
+evaluating...
+s() = 3
+s = Susp(3)
+2 + s = 5
diff --git a/test/files/run/bug603.scala b/test/files/run/bug603.scala
index 27cee562ce..c1e0aace12 100644
--- a/test/files/run/bug603.scala
+++ b/test/files/run/bug603.scala
@@ -20,7 +20,7 @@ object lazy {
implicit def force[A](s: Susp[A]): A = s()
}
-object lazy_test {
+object Test {
import lazy._
def main(args: Array[String]) = {