mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The code goes into its own sub-tree under 'tools' but tests go under 'test', so that running 'check-swift' will also run all the SourceKit tests. SourceKit is disabled on non-darwin platforms.
9 lines
262 B
Swift
9 lines
262 B
Swift
class <#MyCls#> : <#OtherClass#> {}
|
|
|
|
func <#test1#> () {
|
|
for <#name#> in <#items#> {}
|
|
}
|
|
|
|
// CHECK: <gvar>let <name>myArray</name> = <array>[<elem-expr><#item1#></elem-expr>, <elem-expr><#item2#></elem-expr>]</array></gvar>
|
|
let myArray = [<#item1#>, <#item2#>]
|