blob: 11442d64a78e18bea7020bd2859de5509f21b85c [file] [log] [blame]
// RUN: not %target-typecheck-verify-swift
struct Foo {
public func subscribe(_: @escaping () -> Void) {}
public static func foo() {}
func bind() {
subscribe {
_ = "\(foo)"
}
}
}