mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
11 lines
451 B
Swift
11 lines
451 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-swift-ide-test -print-indexed-symbols -source-filename %s | %FileCheck %s
|
|
|
|
// The index should probably use the presumed location, but for now just check
|
|
// that the indexed location isn't a mixture of both.
|
|
|
|
#sourceLocation(file: "some_file.swift", line: 1)
|
|
func testFunc() {}
|
|
// CHECK: [[@LINE-1]]:6 | function(internal)/Swift | testFunc() | s:14swift_ide_test0C4FuncyyF | Def | rel: 0
|
|
#sourceLocation()
|