mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
406 B
Swift
14 lines
406 B
Swift
// RUN: %target-swift-frontend -emit-ir %s -target %target-swift-5.9-abi-triple | %FileCheck %s
|
|
|
|
protocol P {
|
|
static func foobar()
|
|
}
|
|
|
|
struct G<each T> {}
|
|
|
|
extension G: P where repeat each T: P {
|
|
static func foobar() {}
|
|
}
|
|
|
|
// CHECK-LABEL: define internal swiftcc void @"$s41variadic_generic_conditional_conformances1GVyxxQp_QPGAA1PA2aEP6foobaryyFZTW"(ptr swiftself %0, ptr %Self, ptr %SelfWitnessTable)
|