summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/completion/smartType/ConstructorRef.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/java-tests/testData/codeInsight/completion/smartType/ConstructorRef.java')
-rw-r--r--java/java-tests/testData/codeInsight/completion/smartType/ConstructorRef.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/java/java-tests/testData/codeInsight/completion/smartType/ConstructorRef.java b/java/java-tests/testData/codeInsight/completion/smartType/ConstructorRef.java
new file mode 100644
index 000000000000..7f7af003b377
--- /dev/null
+++ b/java/java-tests/testData/codeInsight/completion/smartType/ConstructorRef.java
@@ -0,0 +1,14 @@
+@FunctionalInterface
+interface Foo9 {
+ Bar test(int p);
+}
+
+class Bar {
+ public Bar(int p) {}
+}
+
+class Test88 {
+ void foo(Foo9 foo) {
+ foo(Bar::<caret>);
+ }
+} \ No newline at end of file