@@ -43,6 +43,8 @@ public class PublicClass {
43
43
public init ( label __name: String ) { }
44
44
/// Public Filter Subscript Documentation NotForNormal NotForTesting
45
45
public subscript( label __name: String ) -> Int { return 0 }
46
+ /// SPI Function Documentation NotForNormal NotForTesting
47
+ @_spi ( SPI) public func f_spi( ) { }
46
48
}
47
49
48
50
public extension PublicClass {
@@ -64,6 +66,16 @@ private class PrivateClass {
64
66
private func f_private( ) { }
65
67
}
66
68
69
+ /// SPI Documentation NotForNormal NotForTesting
70
+ @_spi ( SPI) public class SPIClass {
71
+ /// SPI Function Documentation NotForNormal NotForTesting
72
+ public func f_spi( ) { }
73
+ }
74
+
75
+ /// SPI Extension Documentation NotForNormal NotForTesting
76
+ @_spi ( SPI) public extension PublicClass {
77
+ }
78
+
67
79
// NORMAL-NEGATIVE-NOT: NotForNormal
68
80
// NORMAL-NEGATIVE-NOT: NotForTesting
69
81
// NORMAL: PublicClass Documentation
@@ -74,7 +86,7 @@ private class PrivateClass {
74
86
// TESTING-NEGATIVE-NOT: NotForTesting
75
87
// TESTING: PublicClass Documentation
76
88
// TESTING: Public Function Documentation
77
- // TESTINH : Public Init Documentation
89
+ // TESTING : Public Init Documentation
78
90
// TESTING: Public Subscript Documentation
79
91
// TESTING: Internal Function Documentation
80
92
// TESTING: InternalClass Documentation
@@ -85,4 +97,4 @@ private class PrivateClass {
85
97
// SOURCE-LOC: comments-hidden.swift:41:10: Subscript/PublicClass.subscript RawComment=none BriefComment=none DocCommentAsXML=none
86
98
// SOURCE-LOC: comments-hidden.swift:43:10: Constructor/PublicClass.init RawComment=none BriefComment=none DocCommentAsXML=none
87
99
// SOURCE-LOC: comments-hidden.swift:45:10: Subscript/PublicClass.subscript RawComment=none BriefComment=none DocCommentAsXML=none
88
- // SOURCE-LOC: comments-hidden.swift:50 :15: Func/-= RawComment=none BriefComment=none DocCommentAsXML=none
100
+ // SOURCE-LOC: comments-hidden.swift:52 :15: Func/-= RawComment=none BriefComment=none DocCommentAsXML=none
0 commit comments