blob: 3130eda6e0362d84ba5fd3b4e05578f64b527670 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift %s
// REQUIRES: objc_interop
import Foundation
@objc protocol Tracker {
func track(event: String) throws
}
class ApplicationTracker: NSObject, Tracker {
func track(event: String) {} // expected-error {{satisfying a throwing @objc method with a non-throwing method is not supported}}
}