|
4 | 4 |
|
5 | 5 | // RUN: %target-swift-ide-test -F %S/Inputs/custom-frameworks -print-module -source-filename %s -module-to-print=APINotesFrameworkTest -function-definitions=false -swift-version 4 | %FileCheck -check-prefix=CHECK-SWIFT-4 %s
|
6 | 6 |
|
| 7 | +// RUN: %target-swift-ide-test -F %S/Inputs/custom-frameworks -print-module -source-filename %s -module-to-print=APINotesFrameworkTest -function-definitions=false -swift-version 4.2 | %FileCheck -check-prefix=CHECK-SWIFT-4-2 %s |
| 8 | + |
7 | 9 | // RUN: %target-swift-ide-test -F %S/Inputs/custom-frameworks -print-module -source-filename %s -module-to-print=APINotesFrameworkTest -function-definitions=false -swift-version 5 | %FileCheck -check-prefix=CHECK-SWIFT-5 %s
|
8 | 10 |
|
9 | 11 | // CHECK-SWIFT-3: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal4_4")
|
|
199 | 201 | // CHECK-SWIFT-4: @available(swift, introduced: 5, renamed: "multiVersionedGlobal345Both_4")
|
200 | 202 | // CHECK-SWIFT-4: var multiVersionedGlobal345Both_5: Int32
|
201 | 203 |
|
| 204 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal4_4_2") |
| 205 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4: Int32 |
| 206 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4_4: Int32 |
| 207 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal4Notes_4_2") |
| 208 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Notes: Int32 |
| 209 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Notes_4: Int32 |
| 210 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal4Notes_4_2") |
| 211 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Notes_NEW: Int32 |
| 212 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal4Header_4_2") |
| 213 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Header: Int32 |
| 214 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Header_4: Int32 |
| 215 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal4Header_4_2") |
| 216 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Header_NEW: Int32 |
| 217 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal4Both_4_2") |
| 218 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Both: Int32 |
| 219 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Both_4: Int32 |
| 220 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal4Both_4_2") |
| 221 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal4Both_NEW: Int32 |
| 222 | + |
| 223 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal34_4_2") |
| 224 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34: Int32 |
| 225 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal34_4_2") |
| 226 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34_3: Int32 |
| 227 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34_4: Int32 |
| 228 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal34Notes_4_2") |
| 229 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Notes: Int32 |
| 230 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal34Notes_4_2") |
| 231 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Notes_3: Int32 |
| 232 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Notes_4: Int32 |
| 233 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal34Notes_4_2") |
| 234 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Notes_NEW: Int32 |
| 235 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal34Header_4_2") |
| 236 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Header: Int32 |
| 237 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal34Header_4_2") |
| 238 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Header_3: Int32 |
| 239 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Header_4: Int32 |
| 240 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal34Header_4_2") |
| 241 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Header_NEW: Int32 |
| 242 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal34Both_4_2") |
| 243 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Both: Int32 |
| 244 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal34Both_4_2") |
| 245 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Both_3: Int32 |
| 246 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Both_4: Int32 |
| 247 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal34Both_4_2") |
| 248 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal34Both_NEW: Int32 |
| 249 | + |
| 250 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal45_4_2") |
| 251 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45: Int32 |
| 252 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45_4: Int32 |
| 253 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal45_4_2") |
| 254 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45_5: Int32 |
| 255 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal45Notes_4_2") |
| 256 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Notes: Int32 |
| 257 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Notes_4: Int32 |
| 258 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal45Notes_4_2") |
| 259 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Notes_5: Int32 |
| 260 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal45Header_4_2") |
| 261 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Header: Int32 |
| 262 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Header_4: Int32 |
| 263 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal45Header_4_2") |
| 264 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Header_5: Int32 |
| 265 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal45Both_4_2") |
| 266 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Both: Int32 |
| 267 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Both_4: Int32 |
| 268 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal45Both_4_2") |
| 269 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal45Both_5: Int32 |
| 270 | + |
| 271 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal345_4_2") |
| 272 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345: Int32 |
| 273 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal345_4_2") |
| 274 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345_3: Int32 |
| 275 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345_4: Int32 |
| 276 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal345_4_2") |
| 277 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345_5: Int32 |
| 278 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal345Notes_4_2") |
| 279 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Notes: Int32 |
| 280 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal345Notes_4_2") |
| 281 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Notes_3: Int32 |
| 282 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Notes_4: Int32 |
| 283 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal345Notes_4_2") |
| 284 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Notes_5: Int32 |
| 285 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal345Header_4_2") |
| 286 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Header: Int32 |
| 287 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal345Header_4_2") |
| 288 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Header_3: Int32 |
| 289 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Header_4: Int32 |
| 290 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal345Header_4_2") |
| 291 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Header_5: Int32 |
| 292 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 3, renamed: "multiVersionedGlobal345Both_4_2") |
| 293 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Both: Int32 |
| 294 | +// CHECK-SWIFT-4-2: @available(swift, obsoleted: 4, renamed: "multiVersionedGlobal345Both_4_2") |
| 295 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Both_3: Int32 |
| 296 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Both_4: Int32 |
| 297 | +// CHECK-SWIFT-4-2: @available(swift, introduced: 5, renamed: "multiVersionedGlobal345Both_4_2") |
| 298 | +// CHECK-SWIFT-4-2: var multiVersionedGlobal345Both_5: Int32 |
202 | 299 |
|
203 | 300 | // CHECK-SWIFT-5: var multiVersionedGlobal4: Int32
|
204 | 301 | // CHECK-SWIFT-5: @available(swift, obsoleted: 5, renamed: "multiVersionedGlobal4")
|
|
0 commit comments