aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/Modifiers.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/errors/Modifiers.java')
-rw-r--r--tests/errors/Modifiers.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/errors/Modifiers.java b/tests/errors/Modifiers.java
new file mode 100644
index 000000000..dd58dc8c8
--- /dev/null
+++ b/tests/errors/Modifiers.java
@@ -0,0 +1,14 @@
+public abstract class Modifiers {
+ public private void foo1() { }
+ public protected void foo2() { }
+ protected private void foo4() { }
+
+ abstract void foo6() { }
+ abstract static void foo7();
+ abstract synchronized void foo8();
+ abstract private void foo9();
+
+ abstract strictfp void foo10();
+
+ abstract static class A { }
+}