Skip to content

Commit 72ef0b1

Browse files
committed
Remove extraneous function from test
1 parent c8df9cd commit 72ef0b1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/stdlib/ErrorBridged.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -767,12 +767,6 @@ ErrorBridgingTests.test("@objc error domains for nested types") {
767767
String(reflecting: NonPrintAsObjCError.self))
768768
}
769769

770-
@inline(never)
771-
@_optimize(none)
772-
func anyToAny<T, U>(_ a: T, _ : U.Type) -> U {
773-
return a as! U
774-
}
775-
776770
ErrorBridgingTests.test("error-to-NSObject casts") {
777771
let error = MyCustomizedError(code: 12345)
778772

0 commit comments

Comments
 (0)