mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
233 B
Swift
10 lines
233 B
Swift
// RUN: %target-swift-frontend -emit-ir -g -primary-file %s
|
|
|
|
public struct TestType<T: Error> { }
|
|
|
|
extension Array: Error where Element: Error { }
|
|
|
|
public struct GenericType<G> {
|
|
public func test<T>(_ value: TestType<[T]>) { }
|
|
}
|