summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/refactoring/safeDelete/FunctionalInterfaceMethod.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-tests/testData/refactoring/safeDelete/FunctionalInterfaceMethod.java')
-rw-r--r--java/java-tests/testData/refactoring/safeDelete/FunctionalInterfaceMethod.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/java-tests/testData/refactoring/safeDelete/FunctionalInterfaceMethod.java b/java/java-tests/testData/refactoring/safeDelete/FunctionalInterfaceMethod.java
new file mode 100644
index 000000000000..2f1c097726d0
--- /dev/null
+++ b/java/java-tests/testData/refactoring/safeDelete/FunctionalInterfaceMethod.java
@@ -0,0 +1,11 @@
+interface SAM {
+ void fo<caret>o(int i);
+}
+
+class Test {
+
+ {
+ SAM sam = (i) -> {};
+ }
+
+} \ No newline at end of file