Files
swift-mirror/test/decl/protocol/special/Inputs/Error_other.swift
Doug Gregor 823c24b355 [SE-0112] Rename ErrorProtocol to Error.
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00

12 lines
292 B
Swift

// Note that for the test to be effective, each of these enums must only have
// its Equatable or Hashable conformance referenced /once/ in the primary file.
enum FromOtherFile : Error {
case A
}
enum AlsoFromOtherFile : Error {
case A
}
enum YetAnotherFromOtherFile : Error {
case A
}