func longLongLongJourney() async -> Int { 0 } func longLongLongAwryJourney() async throws -> Int { 0 } func consumesAsync(_ fn: () async throws -> Void) rethrows {} fileprivate func new_name() async throws -> Int { return try await longLongLongAwryJourney() + 1 } func testThrowingClosure() async throws -> Int { let x = await longLongLongJourney() let y = try await new_name() try consumesAsync { try await longLongLongAwryJourney() } return x + y }