Skip to content

Commit 6b6fa8d

Browse files
authored
Merge pull request #42460 from AnthonyLatsis/dup-test
Delete a duplicate test case
2 parents 0213f2d + ec463c0 commit 6b6fa8d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

test/Generics/superclass_requirement_and_objc_existential.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,7 @@ func f3<T : Q>(_: T) where T.A : C, T.A == any (C & P2) {}
3434

3535
// CHECK-LABEL: .f4@
3636
// CHECK-NEXT: Generic signature: <T where T : Q>
37-
func f4<T : Q>(_: T) where T.A : C, T.A == any (C & P2) {}
38-
// expected-error@-1 {{no type for 'T.A' can satisfy both 'T.A : C' and 'T.A == any C & P2'}}
39-
// expected-error@-2 {{no type for 'T.A' can satisfy both 'T.A : _NativeClass' and 'T.A == any C & P2'}}
40-
41-
// CHECK-LABEL: .f5@
42-
// CHECK-NEXT: Generic signature: <T where T : Q>
43-
func f5<T : Q>(_: T) where T.A : C, T.A == any (C & P3) {}
37+
func f4<T : Q>(_: T) where T.A : C, T.A == any (C & P3) {}
4438
// expected-error@-1 {{no type for 'T.A' can satisfy both 'T.A : C' and 'T.A == any C & P3'}}
4539
// expected-error@-2 {{no type for 'T.A' can satisfy both 'T.A : _NativeClass' and 'T.A == any C & P3'}}
4640

0 commit comments

Comments
 (0)