mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
14 lines
429 B
Swift
14 lines
429 B
Swift
@IBAction func foo() {
|
|
var xyz : Int
|
|
}
|
|
@IBSegueAction func bar() {
|
|
var xyz : Int
|
|
}
|
|
|
|
// RUN: %sourcekitd-test -req=format -line=2 -length=1 %s >%t.action.response
|
|
// RUN: %FileCheck --strict-whitespace %s <%t.action.response
|
|
// RUN: %sourcekitd-test -req=format -line=5 -length=1 %s >%t.segueaction.response
|
|
// RUN: %FileCheck --strict-whitespace %s <%t.segueaction.response
|
|
|
|
// CHECK: key.sourcetext: " var xyz : Int"
|