mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The "0" subminor is no longer included after
114b4d96e4 (which generally doesn't add a
subminor). Remove it from checks depending on it.
20 lines
628 B
Swift
20 lines
628 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %target-build-swift %s -module-name SymbolGraphModule -emit-module -emit-module-path %t/
|
|
// RUN: %target-swift-symbolgraph-extract -module-name SymbolGraphModule -I %t -pretty-print -output-dir %t
|
|
// RUN: %FileCheck %s --input-file %t/SymbolGraphModule.symbols.json
|
|
|
|
public struct S {
|
|
public var x: Int
|
|
}
|
|
|
|
// CHECK: module
|
|
// CHECK-NEXT: "name": "SymbolGraphModule"
|
|
// CHECK-NEXT: platform
|
|
// CHECK-NEXT: architecture
|
|
// CHECK: vendor
|
|
// CHECK-NEXT: operatingSystem
|
|
// CHECK-NEXT: name
|
|
// CHECK-NEXT: minimumVersion
|
|
// CHECK-NEXT: major
|
|
// CHECK-NEXT: minor
|