mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
7 lines
277 B
Swift
7 lines
277 B
Swift
// RUN: %target-typecheck-verify-swift -enable-experimental-concurrency -disable-availability-checking
|
|
// REQUIRES: concurrency
|
|
|
|
@reasync protocol ReasyncProtocol {}
|
|
|
|
@reasync struct ReasyncStruct {}
|
|
// expected-error@-1 {{@reasync may only be used on 'protocol' declarations}} |