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 c776676 commit 1a0b180Copy full SHA for 1a0b180
test/SILGen/exclusivityattr.swift
@@ -23,11 +23,11 @@ public func getUncheckedVar() -> Int {
23
return globalUncheckedVar
24
}
25
26
-public class ExclusivityAttrStruct {
+public struct ExclusivityAttrStruct {
27
28
-// CHECK-LABEL: sil {{.*}}@$s4test21ExclusivityAttrStructC9staticVarSivsZ
+// CHECK-LABEL: sil {{.*}}@$s4test21ExclusivityAttrStructV9staticVarSivsZ
29
// CHECK-ON: begin_access [modify] [unsafe]
30
-// CHECK: } // end sil function '$s4test21ExclusivityAttrStructC9staticVarSivsZ'
+// CHECK: } // end sil function '$s4test21ExclusivityAttrStructV9staticVarSivsZ'
31
@exclusivity(unchecked)
32
public static var staticVar: Int = 27
33
0 commit comments