summaryrefslogtreecommitdiff
path: root/test/files/run/bug4172.check
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-07-27 21:00:20 +0000
committerPaul Phillips <paulp@improving.org>2011-07-27 21:00:20 +0000
commit5dbb616610b616bff7ec8bb9b78a6f8a59203d7d (patch)
treec930b072f87e063ea1753b3d967c71e00aa0dffc /test/files/run/bug4172.check
parent209167a1b4905f15898235b94d8312a51c312785 (diff)
downloadscala-5dbb616610b616bff7ec8bb9b78a6f8a59203d7d.tar.gz
scala-5dbb616610b616bff7ec8bb9b78a6f8a59203d7d.tar.bz2
scala-5dbb616610b616bff7ec8bb9b78a6f8a59203d7d.zip
Test case closes SI-4172 - I think the output i...
Test case closes SI-4172 - I think the output is right anyway - review by rytz.
Diffstat (limited to 'test/files/run/bug4172.check')
-rw-r--r--test/files/run/bug4172.check11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/run/bug4172.check b/test/files/run/bug4172.check
new file mode 100644
index 0000000000..4bb963baa9
--- /dev/null
+++ b/test/files/run/bug4172.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>