Files
swift-mirror/test/Index/index_comments.swift
Argyrios Kyrtzidis 79ef8ae77c [index] Index documentation comment tags
rdar://30569973
2017-04-25 12:16:25 -07:00

10 lines
364 B
Swift

// RUN: %target-swift-ide-test -print-indexed-symbols -source-filename %s | %FileCheck %s
/// Hello
/// - Tag: this_is_a_tag
/// - Tag: and_another
func foo() {}
// CHECK: [[@LINE-3]]:5 | comment-tag/Swift | | t:this_is_a_tag | Def | rel: 0
// CHECK: [[@LINE-3]]:5 | comment-tag/Swift | | t:and_another | Def | rel: 0
// CHECK: [[@LINE-3]]:6 | function/Swift |