summaryrefslogtreecommitdiff
path: root/test/pending
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-05-18 08:01:47 +0000
committerLex Spoon <lex@lexspoon.org>2007-05-18 08:01:47 +0000
commite2e090d4e2b6f9f3b362128323c13c402a47581b (patch)
tree027e3f89b958adea171076e256904cb1773b9752 /test/pending
parentb367d6e32de8c20b512e84556c0fdae83275ab1e (diff)
downloadscala-e2e090d4e2b6f9f3b362128323c13c402a47581b.tar.gz
scala-e2e090d4e2b6f9f3b362128323c13c402a47581b.tar.bz2
scala-e2e090d4e2b6f9f3b362128323c13c402a47581b.zip
Diffstat (limited to 'test/pending')
-rw-r--r--test/pending/res/bug1092.res1
-rw-r--r--test/pending/res/bug1092/A.scala4
-rw-r--r--test/pending/res/bug1092/B.scala4
-rw-r--r--test/pending/res/bug1092/C.scala6
4 files changed, 15 insertions, 0 deletions
diff --git a/test/pending/res/bug1092.res b/test/pending/res/bug1092.res
new file mode 100644
index 0000000000..6deef8afd0
--- /dev/null
+++ b/test/pending/res/bug1092.res
@@ -0,0 +1 @@
+bug1092/A.scala bug1092/B.scala bug1092/C.scala
diff --git a/test/pending/res/bug1092/A.scala b/test/pending/res/bug1092/A.scala
new file mode 100644
index 0000000000..192e7afe11
--- /dev/null
+++ b/test/pending/res/bug1092/A.scala
@@ -0,0 +1,4 @@
+object HolderA {
+ class A(a: Int)
+}
+
diff --git a/test/pending/res/bug1092/B.scala b/test/pending/res/bug1092/B.scala
new file mode 100644
index 0000000000..5c80e8e84d
--- /dev/null
+++ b/test/pending/res/bug1092/B.scala
@@ -0,0 +1,4 @@
+object HolderB {
+ import HolderA.A
+ trait B extends A
+}
diff --git a/test/pending/res/bug1092/C.scala b/test/pending/res/bug1092/C.scala
new file mode 100644
index 0000000000..f961a93b5b
--- /dev/null
+++ b/test/pending/res/bug1092/C.scala
@@ -0,0 +1,6 @@
+object C extends Application {
+ import HolderA.A
+ import HolderB.B
+
+ println(new A(4) with B)
+}