diff options
Diffstat (limited to 'tests/bugs/pr71723/foo/Foo.java')
-rw-r--r-- | tests/bugs/pr71723/foo/Foo.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs/pr71723/foo/Foo.java b/tests/bugs/pr71723/foo/Foo.java new file mode 100644 index 000000000..628cb86f0 --- /dev/null +++ b/tests/bugs/pr71723/foo/Foo.java @@ -0,0 +1,17 @@ +package foo; + + + +public class Foo extends AncientFoo { + protected int i() { return 42; } + public static void main(String[] args) { + new Foo().doStuff(); + } + public void doStuff() { } + protected int ancientI() { return 42; } +} + +class AncientFoo { + protected int ancientI() { return -42; } + protected int ancientJ() { return 0; } +}
\ No newline at end of file |