Files
swift-mirror/validation-test/compiler_crashers_2/e714818ef0d04b52.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

5 lines
434 B
Swift

// {"kind":"typecheck","signature":"(anonymous namespace)::AssociatedTypeInference::inferAbstractTypeWitnesses(llvm::ArrayRef<swift::AssociatedTypeDecl*>, unsigned int)","signatureAssert":"Assertion failed: (!tyWitness.DefaultedAssocType && \"already recorded a default type witness\"), function addDefaultTypeWitness"}
// RUN: not --crash %target-swift-frontend -typecheck %s
class a : b protocol b {
typealias c typealias c : = c