Skip to content

Commit ba6c8af

Browse files
committed
Simplify test to only use target-typecheck-verify-swift since we are testing typecheck errors.
1 parent 83bcf23 commit ba6c8af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Concurrency/transfernonsendable_functionsubtyping.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend -swift-version 6 -verify -c %s
1+
// RUN: %target-typecheck-verify-swift -swift-version 6 %s
22

33
// READ THIS! This file only contains tests that validate that the relevant
44
// function subtyping rules for sending work. Please do not put other tests in
@@ -103,3 +103,4 @@ struct FailToMatch4 : ProtocolWithMixedReqs { // expected-error {{}}
103103
func nonSendingParamAndSendingResult(_ x: sending NonSendableKlass) -> sending NonSendableKlass { fatalError() }
104104
// expected-note @-1 {{candidate has non-matching type '(sending NonSendableKlass) -> sending NonSendableKlass'}}
105105
}
106+

0 commit comments

Comments
 (0)