mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
4 lines
335 B
Swift
4 lines
335 B
Swift
// {"kind":"typecheck","signature":"swift::constraints::NonEphemeralConversionFailure::emitSuggestionNotes() const","signatureAssert":"Assertion failed: (pointeeType && \"Expected a pointer!\"), function operator()"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
func a(@_nonEphemeral UnsafePointer<Int8>?? ) var b = "" a(b
|