mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
4 lines
363 B
Swift
4 lines
363 B
Swift
// {"kind":"typecheck","signature":"lookupReplacedDecl(swift::DeclNameRef, swift::DeclAttribute const*, swift::ValueDecl const*, llvm::SmallVectorImpl<swift::ValueDecl*>&)","signatureAssert":"Assertion failed: (declCtxt->isTypeContext()), function lookupReplacedDecl"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
{ @_dynamicReplacement(for: ) func a
|