Skip to content

Commit c931935

Browse files
committed
Test: Fix availability in a79aa9924bdc378.swift.
1 parent ca35ad7 commit c931935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation-test/compiler_crashers_2/a79aa9924bdc378.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// {"kind":"emit-silgen","original":"941ad66b","signature":"swift::CanTypeWrapperTraits<swift::ReferenceStorageType>::type swift::SILType::castTo<swift::ReferenceStorageType>() const","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
22
// RUN: not --crash %target-swift-frontend -emit-silgen %s
3-
@available(macOS 14.0, *)
3+
@available(SwiftStdlib 5.9, *)
44
struct a<each b> {
55
var c: (repeat each b) {
66
(repeat {

0 commit comments

Comments
 (0)