Files
swift-mirror/test/Index/index_comments.swift
2025-10-30 14:36:29 +01:00

10 lines
374 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(internal)/Swift |