diff options
Diffstat (limited to 'tests/pureJava/innerDefaultConstructors')
-rw-r--r-- | tests/pureJava/innerDefaultConstructors/pkg1/Main.java | 8 | ||||
-rw-r--r-- | tests/pureJava/innerDefaultConstructors/pkg2/Foo.java | 7 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/pureJava/innerDefaultConstructors/pkg1/Main.java b/tests/pureJava/innerDefaultConstructors/pkg1/Main.java new file mode 100644 index 000000000..a36e7493b --- /dev/null +++ b/tests/pureJava/innerDefaultConstructors/pkg1/Main.java @@ -0,0 +1,8 @@ +package pkg1; + +public class Main extends pkg2.Foo { + + public static void main(String[] args) { + new Goo(); + } +} diff --git a/tests/pureJava/innerDefaultConstructors/pkg2/Foo.java b/tests/pureJava/innerDefaultConstructors/pkg2/Foo.java new file mode 100644 index 000000000..7f13c069b --- /dev/null +++ b/tests/pureJava/innerDefaultConstructors/pkg2/Foo.java @@ -0,0 +1,7 @@ +package pkg2; + +public class Foo { + protected static class Goo { + //protected Goo() {} + } +} |