mirror of
https://github.com/apple/swift.git
synced 2026-10-14 15:51:20 +02:00
7 lines
524 B
Swift
7 lines
524 B
Swift
// {"kind":"typecheck","original":"5b390637","signature":"(anonymous namespace)::ExprRewriter::openExistentialReference(swift::Expr*, swift::ExistentialArchetypeType*, swift::ValueDecl*, swift::SourceLoc)","signatureAssert":"Assertion failed: (baseTy->isAnyExistentialType() && \"Type must be existential\"), function openExistentialReference","signatureNext":"ExprRewriter::coerceCallArguments"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
protocol a
|
|
func b(inout some a)
|
|
func c(d : inout a) {
|
|
b( ( &d
|