summaryrefslogtreecommitdiff
path: root/test/pending/run/t0947.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/pending/run/t0947.scala')
-rw-r--r--test/pending/run/t0947.scala8
1 files changed, 8 insertions, 0 deletions
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());
+}