// RUN: %target-swift-frontend -emit-sil -verify %s
// https://github.com/apple/swift/issues/58149
// Crash while compiling Swift for TensorFlow
//
// This was caused by a bug in GenericSignatureBuilder, similar to one involving
// `CaseIterable`. In this reproducer, `KeyPathIterable` is similar enough to
// `CaseIterable` to have caused the GSB to crash. It was fixed by
// RequirementMachine abstract signatures.
import _Differentiation
@_spi(Reflection) import Swift
struct RNNCellInput: Differentiable {}
struct RNNCellOutput