aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr148908/BadInterface.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/pr148908/BadInterface.java')
-rw-r--r--tests/bugs153/pr148908/BadInterface.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs153/pr148908/BadInterface.java b/tests/bugs153/pr148908/BadInterface.java
new file mode 100644
index 000000000..700f652be
--- /dev/null
+++ b/tests/bugs153/pr148908/BadInterface.java
@@ -0,0 +1,11 @@
+import java.util.Comparator;
+
+
+public interface BadInterface {
+
+ static final Comparator MY_COMPARATOR = new Comparator() {
+ public int compare(Object o1, Object o2) {
+ return 0;
+ }
+ };
+}