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 71b2c50 commit bc939d7Copy full SHA for bc939d7
validation-test/compiler_crashers_2_fixed/sr7002.swift
@@ -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