mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
29 lines
552 B
Plaintext
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 : $()
|
|
}
|