// RUN: %target-typecheck-verify-swift // rdar://problem/35480952 postfix operator %%% protocol P { static postfix func %%%(lhs: Self) } protocol Q {} struct Foo {} extension Foo: P where T : Q { static postfix func %%%(lhs: Foo) {} } func useIt(_: T.Type) { Foo()%%% }