mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These are tests that fail in the next commit without this flag. This does not add -verify-ignore-unrelated to all tests with -verify, only the ones that would fail without it. This is NFC since this flag is currently a no-op.
9 lines
368 B
Swift
9 lines
368 B
Swift
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -enable-objc-interop -typecheck %s -verify -verify-ignore-unrelated
|
|
|
|
import ObjectiveC
|
|
|
|
func instanceMethod(_ b: B) {
|
|
// Notes for labeling mismatch candidates are now attached to each individual declaration
|
|
b.method(1, 2.5) // expected-error {{no exact matches in call to instance method 'method'}}
|
|
}
|