mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
10 lines
347 B
Swift
10 lines
347 B
Swift
// {"kind":"typecheck","signature":"swift::Decl::getSemanticAvailableAttr(swift::AvailableAttr const*) const","signatureAssert":"Assertion failed: (declCtxt->isTypeContext()), function lookupReplacedDecl"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
{
|
|
@available(*, renamed : "process0") func a () {
|
|
async {
|
|
a
|
|
}
|
|
}
|
|
}
|