mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
8 lines
230 B
Swift
8 lines
230 B
Swift
// RUN: %target-typecheck-verify-swift -enable-objc-interop -enable-experimental-concurrency
|
|
|
|
// REQUIRES: concurrency
|
|
|
|
@_cdecl("async") // expected-error{{@_cdecl functions cannot be asynchronous}}
|
|
func asynchronous() async { }
|
|
|