Files
swift-mirror/test/Serialization/Inputs/caller_inheriting_isolation.swift
2025-02-12 12:36:13 -08:00

48 lines
987 B
Swift

public func unspecifiedAsync<T>(_ t: T) async {
}
@execution(caller)
public func unspecifiedAsyncCaller<T>(_ t: T) async {
}
@execution(concurrent)
public func unspecifiedAsyncConcurrent<T>(_ t: T) async {
}
nonisolated public func nonisolatedAsync<T>(_ t: T) async {
}
@execution(caller)
nonisolated public func nonisolatedAsyncCaller<T>(_ t: T) async {
}
@execution(concurrent)
nonisolated public func nonisolatedAsyncConcurrent<T>(_ t: T) async {
}
public struct S {
public init() {}
public func unspecifiedAsync<T>(_ t: T) async {
}
@execution(caller)
public func unspecifiedAsyncCaller<T>(_ t: T) async {
}
@execution(concurrent)
public func unspecifiedAsyncConcurrent<T>(_ t: T) async {
}
nonisolated public func nonisolatedAsync<T>(_ t: T) async {
}
@execution(caller)
nonisolated public func nonisolatedAsyncCaller<T>(_ t: T) async {
}
@execution(concurrent)
nonisolated public func nonisolatedAsyncConcurrent<T>(_ t: T) async {
}
}