Files
swift-mirror/test/SILGen/variadic_generic_conformances.swift
Kavon Farvardin d2bd562799 Test: send shadow RUN lines to /dev/null
The opaque values test coverage I initially added will emit to
stdout, which is noisy for people's logs if the test is failing for
some other reason.
2026-06-30 17:40:48 -07:00

17 lines
401 B
Swift

// FIXME: crashes under opaque values
// RUN: not --crash %target-swift-emit-silgen-ossa -o /dev/null -enable-sil-opaque-values -disable-availability-checking %s
// RUN: %target-swift-frontend -emit-silgen %s -disable-availability-checking
protocol P {
associatedtype A: P
}
struct S: P {
typealias A = S
}
func f<each T: P>(_: repeat each T) -> (repeat (each T).A.A.A.A) {}
f(S(), S(), S())