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