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

11 lines
536 B
Swift

// {"kind":"typecheck","signature":"swift::rewriting::RewriteSystem::buildRewritePathForJoiningTerms(swift::rewriting::MutableTerm, swift::rewriting::MutableTerm, swift::rewriting::RewritePath*) const","signatureAssert":"Assertion failed: (lhsTerm == rhsTerm), function buildRewritePathForJoiningTerms"}
// RUN: not --crash %target-swift-frontend -typecheck %s
protocol a : b
protocol c {
associatedtype d
associatedtype e: f where e.g == Self
}
protocol f: a
protocol b {
associatedtype g: c where g.d == Self!