We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e21eb9 commit 9132963Copy full SHA for 9132963
test/SILGen/toplevel_globalactorvars.swift
@@ -1,4 +1,4 @@
1
-// RUN: %target-swift-emit-silgen -disable-availability-checking -Xllvm -sil-full-demangle -enable-experimental-async-top-level %s | %FileCheck %s
+// RUN: %target-swift-emit-silgen -Xllvm -sil-full-demangle -enable-experimental-async-top-level %s | %FileCheck %s
2
3
// a
4
// CHECK-LABEL: sil_global hidden @$s24toplevel_globalactorvars1aSivp : $Int
@@ -10,8 +10,10 @@
10
// CHECK-NEXT: alloc_global @$s24toplevel_globalactorvars1aSivp
11
// CHECK-NEXT: [[AREF:%[0-9]+]] = global_addr @$s24toplevel_globalactorvars1aSivp : $*Int
12
13
+@available(SwiftStdlib 5.1, *)
14
actor MyActorImpl {}
15
16
17
@globalActor
18
struct MyActor {
19
static let shared = MyActorImpl()
0 commit comments