mirror of
https://github.com/apple/swift.git
synced 2026-10-16 16:50:49 +02:00
8 lines
445 B
Swift
8 lines
445 B
Swift
// {"kind":"typecheck","original":"b69560a8","signature":"swift::constraints::ArgumentMismatchFailure::diagnoseUseOfReferenceEqualityOperator() const","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast","signatureNext":"ArgumentMismatchFailure::diagnoseAsError"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
struct Vector
|
|
let b
|
|
=== a
|
|
struct a {
|
|
=== (b: Vector
|