Files
swift-mirror/test/IDE/issue-66926.swift
2025-07-01 13:06:29 +01:00

13 lines
265 B
Swift

// RUN: %batch-code-completion
func test(_ value: Int?) {
#if true
switch value {
case .some(let underlyingValue) where #^COMPLETE^#underlyingValue is Int:
break
}
#endif
}
// COMPLETE: Decl[LocalVar]/Local: underlyingValue[#Int#]; name=underlyingValue