Files
swift-mirror/validation-test/compiler_crashers_2/67f3134fa56c0913.swift
Hamish Knight 54ff7b339c [test] Fix up crasher test names
Turns out my code for this has been wrong all this time and hasn't
been been including leading zeros for each hex byte.
2025-09-19 13:11:53 +01:00

6 lines
355 B
Swift

// {"kind":"typecheck","signature":"swift::constraints::ContextualFailure::diagnoseConversionToBool() const","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast"}
// RUN: not --crash %target-swift-frontend -typecheck %s
@propertyWrapper struct a {
wrappedValue : Bool {
@a var b : Int