mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
384 B
Swift
10 lines
384 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-frontend -emit-module -o %t %s -module-name Using -enable-experimental-feature DefaultIsolationPerFile
|
|
// RUN: %target-swift-frontend -typecheck -I %t %s -module-name main -DMAIN -verify -enable-experimental-feature DefaultIsolationPerFile
|
|
|
|
// REQUIRES: swift_feature_DefaultIsolationPerFile
|
|
|
|
using @MainActor
|
|
|
|
public func test() {}
|