summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/pending/run/t0947.check1
-rw-r--r--test/pending/run/t0947.scala8
2 files changed, 9 insertions, 0 deletions
diff --git a/test/pending/run/t0947.check b/test/pending/run/t0947.check
new file mode 100644
index 0000000000..e1431236cc
--- /dev/null
+++ b/test/pending/run/t0947.check
@@ -0,0 +1 @@
+foo: test.Foo = Foo
diff --git a/test/pending/run/t0947.scala b/test/pending/run/t0947.scala
new file mode 100644
index 0000000000..f5daca3d30
--- /dev/null
+++ b/test/pending/run/t0947.scala
@@ -0,0 +1,8 @@
+import scala.tools.nsc._
+
+object Test extends Application {
+ class Foo { override def toString = "Foo" };
+
+ val int = new Interpreter(new Settings());
+ int.bind("foo", "Test.Foo", new Test.Foo());
+}