test/langtools/tools/javac/lambda/deduplication/Deduplication.java
changeset 49577 faf02d65df7d
parent 49541 4f6887eade94
child 49887 39446351e625
--- a/test/langtools/tools/javac/lambda/deduplication/Deduplication.java	Wed Apr 11 11:11:13 2018 -0700
+++ b/test/langtools/tools/javac/lambda/deduplication/Deduplication.java	Wed Apr 11 14:52:32 2018 -0400
@@ -32,6 +32,12 @@
     void group(Object... xs) {}
 
     void test() {
+
+        group(
+                (Runnable) () -> { ( (Runnable) () -> {} ).run(); },
+                (Runnable) () -> { ( (Runnable) () -> {} ).run(); }
+        );
+
         group((Function<String, Integer>) x -> x.hashCode());
         group((Function<Object, Integer>) x -> x.hashCode());