mirror of
https://github.com/apple/swift.git
synced 2026-10-26 20:15:53 +01:00
Ensure we extend the end loc of the range, same as we do for the case scope. This ensures the case scope is contained by the parent.
6 lines
256 B
Swift
6 lines
256 B
Swift
// {"frontendArgs":["-typecheck"],"kind":"custom","signature":"swift::AvailabilityScope::verify(swift::AvailabilityScope const*, swift::ASTContext&) const","signatureNext":"verify"}
|
|
// RUN: not %target-swift-frontend -typecheck %s
|
|
switch {
|
|
case :
|
|
let a
|