summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-05-25 08:56:53 +0000
committerGeoffrey Washburn <geoffrey.washburn@epfl.ch>2008-05-25 08:56:53 +0000
commit6209dbe66ef4511464ff1c47715c72b8fe147baf (patch)
treedb9b0b80662ffa641b0a558d29739f0cbbd0866a /test
parentd7efafa48ff8080848561af4eeba97c28fc2fd9b (diff)
downloadscala-6209dbe66ef4511464ff1c47715c72b8fe147baf.tar.gz
scala-6209dbe66ef4511464ff1c47715c72b8fe147baf.tar.bz2
scala-6209dbe66ef4511464ff1c47715c72b8fe147baf.zip
Tried adding a test for t0947, but I can't seem...
Tried adding a test for t0947, but I can't seem to make the program cooperate with scalatest.
Diffstat (limited to 'test')
-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());
+}