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.
7 lines
340 B
Swift
7 lines
340 B
Swift
// RUN: %sourcekitd-test -req=complete -pos=45:1 %S/../Inputs/big_array.swift -- %S/../Inputs/big_array.swift | FileCheck %s
|
|
// CHECK: key.kind: source.lang.swift.decl.var.global
|
|
// CHECK: key.name: "gCubeVertexData"
|
|
// CHECK: key.sourcetext: "gCubeVertexData"
|
|
// CHECK: key.description: "gCubeVertexData"
|
|
// CHECK: key.typename: "[Float]"
|