Skip to content

Commit 18ea2db

Browse files
authored
Merge pull request #67582 from ahoppen/ahoppen/storage-restriction
2 parents 617b25a + 563a680 commit 18ea2db

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Interpreter/init_accessors.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,8 @@ func test_effects_are_still_supported() {
545545
var _b: Int
546546

547547
var a: Int {
548-
init(initialValue) initializes(_a) accesses(_b) {
548+
@storageRestrictions(initializes: _a, accesses: _b)
549+
init(initialValue) {
549550
_a = initialValue
550551
_b = 0
551552
}

0 commit comments

Comments
 (0)