blob: d4e6b3ec5013161ee117b01ca1c3b9f9cb111253 [file] [log] [blame]
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=A | %FileCheck %s
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=B | %FileCheck %s
// CHECK: Decl[InstanceMethod]/CurrNominal: f()[#Void#]{{; name=.+$}}
class C1 {
func f() {
#^A^#
deinit {}
}
class C2 {
func f() {
guard let x = Optional(1) else {
#^B^#
}
deinit {}
}