Files
swift-mirror/validation-test/compiler_crashers_2/b7fa36aa91745be0.swift
Hamish Knight 760959f273 [test] Add assertion messages to crasher test cases
If the crasher hits an assertion failure, include the message in the
header.
2025-08-04 13:00:23 +01:00

12 lines
399 B
Swift

// {"kind":"emit-sil","original":"af5c6219","signature":"(anonymous namespace)::AvailabilitySet::getConditional(unsigned int) const","signatureAssert":"Assertion failed: (Idx < size() && \"Out-of-bounds Bit access.\"), function operator[]"}
// 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 <= ()
}
}