// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify %s // REQUIRES: objc_interop import Foundation protocol P {} class C { init(values: [T]) where T: P {} } func foo(value: T) where T: P { _ = C(values: [value]) // Ok }