diff options
Diffstat (limited to 'tests/pending/pos/t7232b')
-rw-r--r-- | tests/pending/pos/t7232b/Foo.java | 8 | ||||
-rw-r--r-- | tests/pending/pos/t7232b/List.java | 5 | ||||
-rw-r--r-- | tests/pending/pos/t7232b/Test.scala | 5 |
3 files changed, 18 insertions, 0 deletions
diff --git a/tests/pending/pos/t7232b/Foo.java b/tests/pending/pos/t7232b/Foo.java new file mode 100644 index 000000000..94f08d545 --- /dev/null +++ b/tests/pending/pos/t7232b/Foo.java @@ -0,0 +1,8 @@ +package pack; + +import java.util.*; + +public class Foo { + // should be pack.List. + public static List list() { throw new Error(); } +} diff --git a/tests/pending/pos/t7232b/List.java b/tests/pending/pos/t7232b/List.java new file mode 100644 index 000000000..ce977152b --- /dev/null +++ b/tests/pending/pos/t7232b/List.java @@ -0,0 +1,5 @@ +package pack; + +public class List { + public void packList() {} +} diff --git a/tests/pending/pos/t7232b/Test.scala b/tests/pending/pos/t7232b/Test.scala new file mode 100644 index 000000000..6377e26be --- /dev/null +++ b/tests/pending/pos/t7232b/Test.scala @@ -0,0 +1,5 @@ +object Test { + import pack._ + + Foo.list().packList() +} |