summaryrefslogtreecommitdiff
path: root/test/files/pos/t2433
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2010-03-25 20:21:45 +0000
committerMartin Odersky <odersky@gmail.com>2010-03-25 20:21:45 +0000
commitaa406f4b8264a17926f3cafdc61010b7210c67b8 (patch)
tree87e881fec60dfe1d0f9250feff3946cbcc465bc2 /test/files/pos/t2433
parent6ee24a3c5d31ef769e47410d8806a5f4bd7a06bf (diff)
downloadscala-aa406f4b8264a17926f3cafdc61010b7210c67b8.tar.gz
scala-aa406f4b8264a17926f3cafdc61010b7210c67b8.tar.bz2
scala-aa406f4b8264a17926f3cafdc61010b7210c67b8.zip
I think this closes #2433.
Diffstat (limited to 'test/files/pos/t2433')
-rwxr-xr-xtest/files/pos/t2433/A.java4
-rwxr-xr-xtest/files/pos/t2433/B.java4
-rwxr-xr-xtest/files/pos/t2433/Test.scala3
3 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t2433/A.java b/test/files/pos/t2433/A.java
new file mode 100755
index 0000000000..340690c402
--- /dev/null
+++ b/test/files/pos/t2433/A.java
@@ -0,0 +1,4 @@
+class A223 extends B223.Inner {
+ static class Inner {}
+ void foo() {}
+} \ No newline at end of file
diff --git a/test/files/pos/t2433/B.java b/test/files/pos/t2433/B.java
new file mode 100755
index 0000000000..151dd71ca1
--- /dev/null
+++ b/test/files/pos/t2433/B.java
@@ -0,0 +1,4 @@
+class B223 {
+ static class Inner {}
+ void m(A223.Inner x) {}
+} \ No newline at end of file
diff --git a/test/files/pos/t2433/Test.scala b/test/files/pos/t2433/Test.scala
new file mode 100755
index 0000000000..02fd89b646
--- /dev/null
+++ b/test/files/pos/t2433/Test.scala
@@ -0,0 +1,3 @@
+object Test {
+ (new A223).foo()
+}