Files
swift-mirror/validation-test/compiler_crashers_2_fixed/rdar72397303.swift
2020-12-17 09:03:04 -05:00

12 lines
222 B
Swift

// RUN: %target-swift-frontend %s -emit-ir -enable-experimental-concurrency
// REQUIRES: concurrency
protocol P {
func f<T>() async throws -> T?
}
extension P {
func f<T>() async throws -> T? { nil }
}
class X: P {}