// RUN: %target-typecheck-verify-swift // If this test fails, the following types started to conditionally conform to // `Hashable`. When that happens, please add a custom `AnyHashable` // representation to corresponding Objective-C types. func isHashable(_: T.Type) {} isHashable(Int.self) // no-error // Test that `isHashable(_:)` works. isHashable(Array.self) // expected-error {{'Array' does not conform to expected type 'Hashable'}} isHashable(Dictionary.self) // expected-error {{'Dictionary' does not conform to expected type 'Hashable'}}