diff options
Diffstat (limited to 'test/pending/res/bug1092')
-rw-r--r-- | test/pending/res/bug1092/A.scala | 4 | ||||
-rw-r--r-- | test/pending/res/bug1092/B.scala | 4 | ||||
-rw-r--r-- | test/pending/res/bug1092/C.scala | 6 |
3 files changed, 14 insertions, 0 deletions
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) +} |