Files
swift-mirror/validation-test/compiler_crashers_2_fixed/issue-49550.swift

11 lines
234 B
Swift

// RUN: not %target-swift-frontend -typecheck %s
// https://github.com/apple/swift/issues/49550
struct Foo: OptionSet {
let rawValue: Int
static let none = Foo(rawValue: 1 << 0)
}
extension Foo: ExpressibleByIntegerLiteral { }