mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
9 lines
230 B
Swift
9 lines
230 B
Swift
func foo(array: [Int]) {
|
|
_ = array.map { (value) -> Int in
|
|
// RUN: %sourcekitd-test -req=complete -pos=%(line+1):20 %s -- %s == -req=complete -pos=%(line+2):16 %s -- %s
|
|
let decoded = 42
|
|
return decoded
|
|
}
|
|
}
|
|
|