Skip to content

Commit 5457440

Browse files
committed
Update test for 5.5 branch
1 parent fdba938 commit 5457440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/attr/global_actor.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct GA6<T> { // expected-error{{type 'GA6<T>' does not conform to protocol 'G
4545
}
4646

4747
extension GA6 where T: Equatable {
48-
static var shared: SomeActor { SomeActor() }
48+
static var shared: SomeActor { SomeActor() } // expected-error{{candidate would match if 'T' conformed to 'Equatable'}}
4949
}
5050

5151
@globalActor

0 commit comments

Comments
 (0)