mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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.
10 lines
522 B
Swift
10 lines
522 B
Swift
// RUN: %empty-directory(%t)
|
||
|
||
// RUN: %target-swift-frontend -verify -verify-ignore-unrelated -emit-module -experimental-allow-module-with-compiler-errors %s -o %t/foo.swiftmodule
|
||
// RUN: %target-swift-frontend -verify -verify-ignore-unrelated -emit-module -module-name foo %t/foo.swiftmodule
|
||
|
||
// rdar://97267326 – Make sure we can handle an operator function without its declaration.
|
||
struct S {
|
||
static func ^^^ (lhs: S, rhs: S) {} // expected-error {{operator implementation without matching operator declaration}}
|
||
}
|