summaryrefslogtreecommitdiff
path: root/test/files/run/t7582b/PackageProtectedJava_1.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t7582b/PackageProtectedJava_1.java')
-rw-r--r--test/files/run/t7582b/PackageProtectedJava_1.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t7582b/PackageProtectedJava_1.java b/test/files/run/t7582b/PackageProtectedJava_1.java
new file mode 100644
index 0000000000..42a2019b91
--- /dev/null
+++ b/test/files/run/t7582b/PackageProtectedJava_1.java
@@ -0,0 +1,6 @@
+package p1;
+
+// protected class, public method
+class PackageProtectedJava_1 {
+ public static final int protectedMethod() { return 1; }
+}