mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
9 lines
315 B
Swift
9 lines
315 B
Swift
var foo: String {
|
|
let name = "white"
|
|
return name
|
|
}
|
|
|
|
// RUN: rm -rf %t.result && mkdir -p %t.result
|
|
// RUN: %refactor -find-local-rename-ranges -source-filename %s -pos=2:7 > %t.result/computed_property.swift
|
|
// RUN: diff -u %S/Outputs/property/computed_property.swift.expected %t.result/computed_property.swift
|