blob: 5ee65440c4df5c2320474a5fa9b1a402108ef6b1 [file] [log] [blame]
// RUN: %target-parse-verify-swift
protocol P {
func method() -> Int
}
func address_only_bind<T: P>(x: T?) -> Int {
let y = x!.method()
return y
}