mirror of
https://github.com/apple/swift.git
synced 2026-10-16 16:50:49 +02:00
Add some crashers that I encountered while making some other changes, ensure we don't regress them.
9 lines
451 B
Swift
9 lines
451 B
Swift
// {"kind":"typecheck","original":"27457093","signature":"swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::constraints::SyntacticElementTarget)","signatureAssert":"Assertion failed: (isValidType(type) && \"type binding has invalid type\"), function applySolution"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
struct a: RangeReplaceableCollection {
|
|
var b = {
|
|
max
|
|
RangeReplaceableCollection
|
|
}
|
|
}
|