summaryrefslogtreecommitdiff
path: root/test/files/run/records.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/records.scala')
-rw-r--r--test/files/run/records.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/records.scala b/test/files/run/records.scala
index bae0d943ff..f2b582b950 100644
--- a/test/files/run/records.scala
+++ b/test/files/run/records.scala
@@ -19,10 +19,10 @@ object Test {
val y = new C {
def f = 2
def g = " world"
- }
-
+ }
+
val z: T = y
-
+
def main(args: Array[String]): Unit = {
assert(x.f+z.f == 3)
assert(x.g+z.g == "hello world")