Skip to content

Commit 06c0571

Browse files
committed
test more cases
1 parent bc308e0 commit 06c0571

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Sema/option-set-empty.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
struct SomeOptions: OptionSet {
44
var rawValue: Int
55
static let some = MyOptions(rawValue: 4)
6+
let empty = SomeOptions(rawValue: 0)
7+
var otherVal = SomeOptions(rawValue: 0)
68
}
79

810
struct MyOptions: OptionSet {

0 commit comments

Comments
 (0)