Files
swift-mirror/test/SymbolGraph/Module/Module.swift
Ben Barham f2bd6ce9cb [next] Remove subminor version from various tests
The "0" subminor is no longer included after
114b4d96e4 (which generally doesn't add a
subminor). Remove it from checks depending on it.
2022-05-11 17:06:29 -07:00

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