Files
swift-mirror/validation-test/compiler_crashers_fixed/rdar71260972.sil
Hamish Knight 4e811c3a88 [test] Merge crasher directories
There is no longer much of a good reason to keep these separate,
merge them.
2025-10-18 12:51:30 +01:00

29 lines
552 B
Plaintext

// RUN: %target-swift-frontend %s -emit-ir -enable-experimental-concurrency -parse-sil
// REQUIRES: concurrency
import Swift
struct Pack {
public let a: Bool
public let b: Bool
public let c: Bool
public let d: Bool
public let e: Bool
}
public struct Strukt {
public let rawValue: Int
}
class Clazz { }
sil_vtable Clazz {
}
sil @$foo : $@convention(method) @async (@guaranteed Pack, @guaranteed Array<Strukt>, @guaranteed Clazz) -> () {
bb0(%0 : $Pack, %1 : $Array<Strukt>, %2 : $Clazz):
%result = tuple ()
return %result : $()
}