Skip to content

Commit bc939d7

Browse files
committed
Add regression test for https://bugs.swift.org/browse/SR-7002
1 parent 71b2c50 commit bc939d7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// RUN: not %target-swift-frontend -typecheck %s
2+
3+
struct Foo: OptionSet {
4+
let rawValue: Int
5+
static let none = Foo(rawValue: 1 << 0)
6+
}
7+
8+
extension Foo: ExpressibleByIntegerLiteral { }

0 commit comments

Comments
 (0)