7
7
// RUN: %target-swift-frontend -emit-ir -o/dev/null -parse-as-library -module-name test -validate-tbd-against-ir=all %s -enable-testing -O
8
8
// RUN: %target-swift-frontend -emit-ir -o/dev/null -parse-as-library -module-name test -validate-tbd-against-ir=all %s -enable-resilience -enable-testing -O
9
9
10
- public struct PublicNothing { }
10
+ public struct StructPublicNothing { }
11
11
12
- public struct PublicInit {
12
+ public struct StructPublicInit {
13
13
public init ( ) { }
14
14
15
15
public init ( public_: Int ) { }
16
16
internal init ( internal_: Int ) { }
17
17
private init ( private_: Int ) { }
18
18
}
19
19
20
- public struct PublicMethods {
20
+ public struct StructPublicMethods {
21
21
public init ( ) { }
22
22
public func publicMethod( ) { }
23
23
internal func internalMethod( ) { }
24
24
private func privateMethod( ) { }
25
25
}
26
26
27
- public struct PublicProperties {
27
+ public struct StructPublicProperties {
28
28
public let publicLet : Int = 0
29
29
internal let internalLet : Int = 0
30
30
private let privateLet : Int = 0
@@ -51,7 +51,7 @@ public struct PublicProperties {
51
51
}
52
52
}
53
53
54
- public struct PublicSubscripts {
54
+ public struct StructPublicSubscripts {
55
55
public subscript( publicGet _: Int ) -> Int { return 0 }
56
56
internal subscript( internalGet _: Int ) -> Int { return 0 }
57
57
private subscript( privateGet _: Int ) -> Int { return 0 }
@@ -70,7 +70,7 @@ public struct PublicSubscripts {
70
70
}
71
71
}
72
72
73
- public struct PublicStatics {
73
+ public struct StructPublicStatics {
74
74
public static func publicStaticFunc( ) { }
75
75
internal static func internalStaticFunc( ) { }
76
76
private static func privateStaticFunc( ) { }
@@ -101,7 +101,7 @@ public struct PublicStatics {
101
101
}
102
102
}
103
103
104
- public struct PublicGeneric < T, U, V> {
104
+ public struct StructPublicGeneric < T, U, V> {
105
105
public var publicVar : T
106
106
internal var internalVar : U
107
107
private var privateVar : V
@@ -126,22 +126,22 @@ public struct PublicGeneric<T, U, V> {
126
126
}
127
127
128
128
129
- internal struct InternalNothing { }
129
+ internal struct StructInternalNothing { }
130
130
131
- internal struct InternalInit {
131
+ internal struct StructInternalInit {
132
132
internal init ( ) { }
133
133
134
134
internal init ( internal_: Int ) { }
135
135
private init ( private_: Int ) { }
136
136
}
137
137
138
- internal struct InternalMethods {
138
+ internal struct StructInternalMethods {
139
139
internal init ( ) { }
140
140
internal func internalMethod( ) { }
141
141
private func privateMethod( ) { }
142
142
}
143
143
144
- internal struct InternalProperties {
144
+ internal struct StructInternalProperties {
145
145
internal let internalLet : Int = 0
146
146
private let privateLet : Int = 0
147
147
@@ -161,7 +161,7 @@ internal struct InternalProperties {
161
161
}
162
162
}
163
163
164
- internal struct InternalSubscripts {
164
+ internal struct StructInternalSubscripts {
165
165
internal subscript( internalGet _: Int ) -> Int { return 0 }
166
166
private subscript( privateGet _: Int ) -> Int { return 0 }
167
167
@@ -175,7 +175,7 @@ internal struct InternalSubscripts {
175
175
}
176
176
}
177
177
178
- internal struct InternalStatics {
178
+ internal struct StructInternalStatics {
179
179
internal static func internalStaticFunc( ) { }
180
180
private static func privateStaticFunc( ) { }
181
181
@@ -198,7 +198,7 @@ internal struct InternalStatics {
198
198
}
199
199
}
200
200
201
- internal struct InternalGeneric < T, U, V> {
201
+ internal struct StructInternalGeneric < T, U, V> {
202
202
internal var internalVar : U
203
203
private var privateVar : V
204
204
@@ -218,19 +218,19 @@ internal struct InternalGeneric<T, U, V> {
218
218
}
219
219
220
220
221
- private struct PrivateNothing { }
221
+ private struct StructPrivateNothing { }
222
222
223
- private struct PrivateInit {
223
+ private struct StructPrivateInit {
224
224
private init ( ) { }
225
225
private init ( private_: Int ) { }
226
226
}
227
227
228
- private struct PrivateMethods {
228
+ private struct StructPrivateMethods {
229
229
private init ( ) { }
230
230
private func privateMethod( ) { }
231
231
}
232
232
233
- private struct PrivateProperties {
233
+ private struct StructPrivateProperties {
234
234
private let privateLet : Int = 0
235
235
236
236
private var privateVar : Int = 0
@@ -243,7 +243,7 @@ private struct PrivateProperties {
243
243
}
244
244
}
245
245
246
- private struct PrivateSubscripts {
246
+ private struct StructPrivateSubscripts {
247
247
private subscript( privateGet _: Int ) -> Int { return 0 }
248
248
249
249
private subscript( privateGetSet _: Int ) -> Int {
@@ -252,7 +252,7 @@ private struct PrivateSubscripts {
252
252
}
253
253
}
254
254
255
- private struct PrivateStatics {
255
+ private struct StructPrivateStatics {
256
256
private static func privateStaticFunc( ) { }
257
257
258
258
private static let privateLet : Int = 0
@@ -267,7 +267,7 @@ private struct PrivateStatics {
267
267
}
268
268
}
269
269
270
- private struct PrivateGeneric < T, U, V> {
270
+ private struct StructPrivateGeneric < T, U, V> {
271
271
private var privateVar : V
272
272
273
273
private var privateVarConcrete : Int = 0
0 commit comments