mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
438 B
Swift
12 lines
438 B
Swift
// {"kind":"emit-sil","original":"96451f18","signature":"(anonymous namespace)::LifetimeChecker::getLivenessAtInst(swift::SILInstruction*, unsigned int, unsigned int)","signatureAssert":"Assertion failed: (E <= size() && \"Attempted to set out-of-bounds range!\"), function set"}
|
|
// RUN: not --crash %target-swift-frontend -emit-sil %s
|
|
struct a<b> {
|
|
let c: String
|
|
let d: b
|
|
}
|
|
extension a where b == Void {
|
|
init() {
|
|
d <= ()
|
|
}
|
|
}
|