// RUN: %swift -parse -verify %s class Dictionary : DictionaryLiteralConvertible { // expected-error {{type 'Dictionary' does not conform to protocol 'DictionaryLiteralConvertible'}} typealias Key = K typealias Value = V func convertFromDictionaryLiteral(xs: (K, V)...) -> Dictionary {} // expected-note {{candidate operates on an instance, not a type as required}} } func useDict(d: Dictionary) {} useDict(["Hello" : 1])