// RUN: %target-typecheck-verify-swift class Dictionary : ExpressibleByDictionaryLiteral { // expected-error {{type 'Dictionary' does not conform to protocol 'ExpressibleByDictionaryLiteral'}} expected-note {{add stubs for conformance}} typealias Key = K typealias Value = V init(dictionaryLiteral xs: K...){} // expected-note {{candidate has non-matching type '(dictionaryLiteral: K...)'}} } func useDict(_ d: Dictionary) {} useDict(["Hello" : 1]) useDict(["Hello" : 1, "World" : 2])