From ec463c05960a91978cf9d0c97adfacb636beb136 Mon Sep 17 00:00:00 2001 From: Anthony Latsis Date: Wed, 20 Apr 2022 02:08:51 +0300 Subject: [PATCH] Delete a duplicate test case --- .../superclass_requirement_and_objc_existential.swift | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/test/Generics/superclass_requirement_and_objc_existential.swift b/test/Generics/superclass_requirement_and_objc_existential.swift index 62332d5d78a9f..6c2ac6e0110ff 100644 --- a/test/Generics/superclass_requirement_and_objc_existential.swift +++ b/test/Generics/superclass_requirement_and_objc_existential.swift @@ -34,13 +34,7 @@ func f3(_: T) where T.A : C, T.A == any (C & P2) {} // CHECK-LABEL: .f4@ // CHECK-NEXT: Generic signature: -func f4(_: T) where T.A : C, T.A == any (C & P2) {} -// expected-error@-1 {{no type for 'T.A' can satisfy both 'T.A : C' and 'T.A == any C & P2'}} -// expected-error@-2 {{no type for 'T.A' can satisfy both 'T.A : _NativeClass' and 'T.A == any C & P2'}} - -// CHECK-LABEL: .f5@ -// CHECK-NEXT: Generic signature: -func f5(_: T) where T.A : C, T.A == any (C & P3) {} +func f4(_: T) where T.A : C, T.A == any (C & P3) {} // expected-error@-1 {{no type for 'T.A' can satisfy both 'T.A : C' and 'T.A == any C & P3'}} // expected-error@-2 {{no type for 'T.A' can satisfy both 'T.A : _NativeClass' and 'T.A == any C & P3'}}