Files
swift-mirror/validation-test/compiler_crashers_2/a1776e4598146d49.swift
Hamish Knight 760959f273 [test] Add assertion messages to crasher test cases
If the crasher hits an assertion failure, include the message in the
header.
2025-08-04 13:00:23 +01:00

4 lines
368 B
Swift

// {"kind":"typecheck","signature":"swift::PatternTypeRequest::evaluate(swift::Evaluator&, swift::ContextualPattern) const","signatureAssert":"Assertion failed: (!dyn_cast_or_null<SpecifierTypeRepr>(Repr) && \"Didn't resolve invalid type to error type!\"), function validateTypedPattern"}
// RUN: not --crash %target-swift-frontend -typecheck %s
enum a { b : _const a