extensionGenericClass : P3 where T :P3 { }// expected-error{{extension of type 'GenericClass' with constraints cannot have an inheritance clause}}
extensionGenericClass : P3 where T :P3 { }
extensionGenericClasswhereSelf:P3 { }
// expected-error@-1{{'Self' is only available in a protocol or as the result of a method in a class; did you mean 'GenericClass'?}} {{30-34=GenericClass}}
// <rdar://problem/27671033> Crash when defining property inside an invalid extension
// (This extension is no longer invalid.)
publicprotocolrdar27671033P {}
structrdar27671033S<Key, Value> {}
extensionrdar27671033S : rdar27671033P whereKey==String {// expected-error {{extension of type 'rdar27671033S' with constraints cannot have an inheritance clause}}