blob: b7e15d58b0ccffeb0d842b6bd3288917db98d486 [file] [log] [blame]
// RUN: %target-typecheck-verify-swift
struct S: Hashable {
let e: E?
}
enum E: Hashable {
case foo
case bar
}
let a = S(e: .foo)
let b = S(e: .bar)
_ = a == b