7575// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=IN_TUPLE_1 | %FileCheck %s -check-prefix=IN_TUPLE_1
7676// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=IN_TUPLE_2 | %FileCheck %s -check-prefix=IN_TUPLE_2
7777
78- // RUN-FIXME(rdar56755598) : %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_1 | %FileCheck %s -check-prefix=OWN_INIT_1
79- // RUN-FIXME(rdar56755598) : %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_2 | %FileCheck %s -check-prefix=OWN_INIT_2
78+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_1 | %FileCheck %s -check-prefix=OWN_INIT_1
79+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_2 | %FileCheck %s -check-prefix=OWN_INIT_2
8080// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_3 | %FileCheck %s -check-prefix=OWN_INIT_3
8181// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_4 | %FileCheck %s -check-prefix=OWN_INIT_4
8282// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_5 | %FileCheck %s -check-prefix=OWN_INIT_5
8383// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_6 | %FileCheck %s -check-prefix=OWN_INIT_6
8484// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_7 | %FileCheck %s -check-prefix=OWN_INIT_7
85+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_8 | %FileCheck %s -check-prefix=OWN_INIT_8
86+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_9 | %FileCheck %s -check-prefix=OWN_INIT_9
87+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_10 | %FileCheck %s -check-prefix=OWN_INIT_10
88+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_11 | %FileCheck %s -check-prefix=OWN_INIT_11
89+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_12 | %FileCheck %s -check-prefix=OWN_INIT_12
8590
8691// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_ACCESSOR_1 | %FileCheck %s -check-prefix=OWN_ACCESSOR_1
8792// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_ACCESSOR_2 | %FileCheck %s -check-prefix=OWN_ACCESSOR_2
@@ -584,13 +589,19 @@ func sync() {}
584589var ownInit2: () -> Void = { #^OWN_INIT_2^# }
585590// OWN_INIT_2: Begin completions
586591// OWN_INIT_2-NOT: ownInit2
592+ var ownInit8: Int = " \( #^OWN_INIT_8^#) "
593+ // OWN_INIT_8: Begin completions
594+ // OWN_INIT_8-NOT: ownInit8
587595struct OwnInitTester {
588596 var ownInit3: Int = #^OWN_INIT_3^#
589597 // OWN_INIT_3: Begin completions
590598 // OWN_INIT_3-NOT: ownInit3
591599 var ownInit4: () -> Void = { #^OWN_INIT_4^# }
592600 // OWN_INIT_4: Begin completions
593601 // OWN_INIT_4-NOT: ownInit4
602+ var ownInit9: String = " \( #^OWN_INIT_9^#) "
603+ // OWN_INIT_9: Begin completions
604+ // OWN_INIT_9-NOT: ownInit9
594605}
595606func ownInitTesting() {
596607 var ownInit5: Int = #^OWN_INIT_5^#
@@ -599,6 +610,17 @@ func ownInitTesting() {
599610 var ownInit6: () -> Void = { #^OWN_INIT_6^# }
600611 // OWN_INIT_6: Begin completions
601612 // OWN_INIT_6-NOT: ownInit6
613+ var ownInit10: String = " \( #^OWN_INIT_10^#) "
614+ // OWN_INIT_10: Begin completions
615+ // OWN_INIT_10-NOT: ownInit10
616+ }
617+ func ownInitTestingParam(ownInit11: Int = #^OWN_INIT_11^#) {
618+ // OWN_INIT_11: Begin completions
619+ // OWN_INIT_11-NOT: Decl[LocalVar]{{.*}}ownInit11
620+ }
621+ func ownInitTestingParamInterp(ownInit12: String = " \( #^OWN_INIT_12^#) " ) {
622+ // OWN_INIT_12: Begin completions
623+ // OWN_INIT_12-NOT: Decl[LocalVar]{{.*}}ownInit12
602624}
603625func ownInitTestingShadow(ownInit7: Int) {
604626 var ownInit7: Int = #^OWN_INIT_7^#
0 commit comments