Files
swift-mirror/test/Sema/enum_raw_representable_explicit_multi_file.swift
2018-07-26 23:13:43 -07:00

11 lines
444 B
Swift

// RUN: %target-swift-frontend -typecheck -primary-file %s %S/Inputs/enum_raw_representable_explicit_multi_file_2.swift
// RUN: %target-typecheck-verify-swift -primary-file %S/Inputs/enum_raw_representable_explicit_multi_file_2.swift
enum Foo: Int { case A }
extension Bar: RawRepresentable {}
enum Bas: Int { case A }
// expected-note@+1 {{'Bas' declares conformance to protocol 'RawRepresentable' here}}
extension Bas: RawRepresentable {}