Skip to content

Commit 1a0b180

Browse files
committed
NFC: Fix typos in SILGen test for @exclusivity.
1 parent c776676 commit 1a0b180

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/SILGen/exclusivityattr.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ public func getUncheckedVar() -> Int {
2323
return globalUncheckedVar
2424
}
2525

26-
public class ExclusivityAttrStruct {
26+
public struct ExclusivityAttrStruct {
2727

28-
// CHECK-LABEL: sil {{.*}}@$s4test21ExclusivityAttrStructC9staticVarSivsZ
28+
// CHECK-LABEL: sil {{.*}}@$s4test21ExclusivityAttrStructV9staticVarSivsZ
2929
// CHECK-ON: begin_access [modify] [unsafe]
30-
// CHECK: } // end sil function '$s4test21ExclusivityAttrStructC9staticVarSivsZ'
30+
// CHECK: } // end sil function '$s4test21ExclusivityAttrStructV9staticVarSivsZ'
3131
@exclusivity(unchecked)
3232
public static var staticVar: Int = 27
3333
}

0 commit comments

Comments
 (0)