mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
%target-typecheck-verify-swift already implies the current file being passed to the frontend - these just lead to duplicate input file errors.
9 lines
379 B
Swift
9 lines
379 B
Swift
// RUN: %target-typecheck-verify-swift -parse-as-library -disable-availability-checking -disable-implicit-concurrency-module-import
|
|
// RUN: %target-typecheck-verify-swift -parse-as-library -disable-availability-checking -parse-stdlib
|
|
|
|
@main struct Main {
|
|
// expected-error@+1:22{{'_Concurrency' module not imported, required for async main}}
|
|
static func main() async {
|
|
}
|
|
}
|