mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
371 B
Swift
11 lines
371 B
Swift
// RUN: %batch-code-completion
|
|
|
|
// NONISOLATED-DAG: Keyword/None: unsafe; name=unsafe
|
|
// NONISOLATED-DAG: Keyword/None: nonsending; name=nonsending
|
|
|
|
nonisolated(#^NONISOLATED_UNSAFE_TOP_LEVEL?check=NONISOLATED^#) var count = 0
|
|
|
|
struct MyStruct {
|
|
nonisolated(#^NONISOLATED_UNSAFE_IN_STRUCT?check=NONISOLATED^#) var prop = 0
|
|
}
|