mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
These are tests that fail in the next commit without this flag. This does not add -verify-ignore-unrelated to all tests with -verify, only the ones that would fail without it. This is NFC since this flag is currently a no-op.
7 lines
381 B
Swift
7 lines
381 B
Swift
// RUN: %target-typecheck-verify-swift -verify-ignore-unrelated -swift-version 4
|
|
|
|
func signedBitPattern() {
|
|
_ = Int64(bitPattern: 0.0) // expected-error {{Please use Int64(bitPattern: UInt64) in combination with Double.bitPattern property.}}
|
|
_ = Int32(bitPattern: 0.0) // expected-error {{Please use Int32(bitPattern: UInt32) in combination with Float.bitPattern property.}}
|
|
}
|