summaryrefslogtreecommitdiff
path: root/test/files/run/t4172.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t4172.check')
-rw-r--r--test/files/run/t4172.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/t4172.check b/test/files/run/t4172.check
new file mode 100644
index 0000000000..4bb963baa9
--- /dev/null
+++ b/test/files/run/t4172.check
@@ -0,0 +1,11 @@
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> val c = { class C { override def toString = "C" }; ((new C, new C { def f = 2 })) }
+c: (C, C{def f: Int}) forSome { type C <: java.lang.Object with ScalaObject } = (C,C)
+
+scala>
+
+scala>