Skip to content

Commit 43fa4a4

Browse files
authored
Merge pull request #84162 from tshortli/fix-availability-a79aa9924bdc378
Test: Fix availability in `a79aa9924bdc378.swift`
2 parents 3e74869 + c931935 commit 43fa4a4

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)