summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-02-24 18:41:14 +0000
committerPaul Phillips <paulp@improving.org>2009-02-24 18:41:14 +0000
commit5c2635fb90c44dee3a76ae1346845aab7748d738 (patch)
tree89ae4577203d33fee32eb8393df94778cdfa2cee /test/files
parent0f81e1686bef598c5353a7187a332f3008492f29 (diff)
downloadscala-5c2635fb90c44dee3a76ae1346845aab7748d738.tar.gz
scala-5c2635fb90c44dee3a76ae1346845aab7748d738.tar.bz2
scala-5c2635fb90c44dee3a76ae1346845aab7748d738.zip
Fix and test case for #1747.
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/t1747.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t1747.scala b/test/files/run/t1747.scala
new file mode 100644
index 0000000000..bcda6b52d1
--- /dev/null
+++ b/test/files/run/t1747.scala
@@ -0,0 +1,6 @@
+object Foo extends Foo {
+ def f {}
+}
+class Foo
+
+object Test extends Application { Foo } \ No newline at end of file