mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
6 lines
300 B
Swift
6 lines
300 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::MissingArgumentsFailure::diagnoseAsError()","signatureAssert":"Assertion failed: (Ptr && \"Cannot dereference a null Type!\"), function operator->"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
enum a { b } {
|
|
let:
|
|
String->a = a.b
|