mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
353 B
Swift
4 lines
353 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::ContextualFailure::getDiagnosticFor(swift::ContextualTypePurpose, swift::Type)","signatureAssert":"Assertion failed: (Ptr && \"Cannot dereference a null Type!\"), function operator->"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
{ struct a func b< c >->c->() var : (inout a)->() = b(
|