mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
222 B
Swift
9 lines
222 B
Swift
// RUN: %target-swift-frontend -emit-ir -module-name test %s -primary-file %S/Inputs/require-layout-call-result-primary.swift
|
|
|
|
|
|
class C<T> {
|
|
func broken() { }
|
|
}
|
|
|
|
func bar<T, U: C<T>>(_ t: T, _ u: U) -> C<T> { return u }
|