mirror of
https://github.com/apple/swift.git
synced 2026-10-08 12:50:50 +02:00
8 lines
426 B
Swift
8 lines
426 B
Swift
// {"kind":"typecheck","original":"c6a502fd","signature":"swift::IterableDeclContext::loadAllMembers() const","signatureAssert":"Assertion failed: (isa<To>(Val) && \"cast<Ty>() argument of incompatible type!\"), function cast","signatureNext":"IterableDeclContext::getMembers"}
|
|
// RUN: not --crash %target-swift-frontend -typecheck %s
|
|
@freestanding(declaration) macro a()
|
|
@attached(extension) macro b() =
|
|
#a
|
|
@b struct c {
|
|
}
|