mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
12 lines
263 B
Swift
12 lines
263 B
Swift
// RUN: %target-swift-frontend -emit-ir %s
|
|
// REQUIRES: OS=macosx
|
|
|
|
import Combine
|
|
|
|
@available(macOS 10.15, *)
|
|
extension Publishers.Share {
|
|
func foo<A: Publisher, B: Publisher>() where Upstream == Publishers.FlatMap<A, B>, B.Output == UInt8 {
|
|
|
|
}
|
|
}
|