aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs1813/generics/Runner.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs1813/generics/Runner.java')
-rw-r--r--tests/bugs1813/generics/Runner.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/bugs1813/generics/Runner.java b/tests/bugs1813/generics/Runner.java
new file mode 100644
index 000000000..6d4468b0f
--- /dev/null
+++ b/tests/bugs1813/generics/Runner.java
@@ -0,0 +1,7 @@
+public class Runner {
+ public static void main(String[] argv) {
+ if (new AlreadyImplementsA() instanceof A) {
+ System.out.println("ok");
+ }
+ }
+}