File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 1- // RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -module-name attrs -enable-experimental-feature ABIAttribute
1+ // RUN: %target-swift-emit-module-interface(%t.swiftinterface) %s -module-name attrs \
2+ // RUN: -enable-experimental-feature ABIAttribute \
3+ // RUN: -enable-experimental-feature NonIsolatedAsyncInheritsIsolationFromContext
4+
25// RUN: %target-swift-typecheck-module-from-interface(%t.swiftinterface) -module-name attrs
6+
37// RUN: %FileCheck %s --input-file %t.swiftinterface
48
59// REQUIRES: swift_feature_ABIAttribute
10+ // REQUIRES: swift_feature_NonIsolatedAsyncInheritsIsolationFromContext
611
712// CHECK: @_transparent public func glass() -> Swift.Int { return 0 }{{$}}
813@_transparent public func glass( ) -> Int { return 0 }
@@ -49,3 +54,11 @@ public var abiAttrOnVar: Int = 42
4954// CHECK: @available(*, unavailable, message: "this compiler cannot match the ABI specified by the @abi attribute")
5055// CHECK: public var abiAttrOnVar: Swift.Int
5156// CHECK: #endif
57+
58+ @execution ( concurrent)
59+ public func testExecutionConcurrent( ) async { }
60+ // CHECK: @execution(concurrent) public func testExecutionConcurrent() async
61+
62+ @execution ( caller)
63+ public func testExecutionCaller( ) async { }
64+ // CHECK: @execution(caller) public func testExecutionCaller() async
You can’t perform that action at this time.
0 commit comments