aboutsummaryrefslogtreecommitdiff
path: root/test/pretty/resource/after/Lambda.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/pretty/resource/after/Lambda.java')
-rw-r--r--test/pretty/resource/after/Lambda.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/pretty/resource/after/Lambda.java b/test/pretty/resource/after/Lambda.java
new file mode 100644
index 00000000..54d7caa0
--- /dev/null
+++ b/test/pretty/resource/after/Lambda.java
@@ -0,0 +1,7 @@
+public class Lambda {
+ Runnable r = () -> System.out.println();
+ java.util.Comparator<Integer> c1 = (a, b) -> a - b;
+ java.util.Comparator<Integer> c2 = (Integer a, Integer b) -> {
+ return a - b;
+ };
+} \ No newline at end of file