This commit is contained in:
Robert Widmann
2024-02-08 00:18:55 -07:00
parent ce62951229
commit 6da33336d3
4 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
// swift-interface-format-version: 1.0
// swift-module-flags: -module-name Bottom -module-abi-name Top -module-interface-preserve-types-as-written
import Swift
public protocol Aspect {
associatedtype Orientation : Bottom.Aspect
var orientation: Self.Orientation { get }
}
public struct Parameter {
}
public struct ReferencesTop {
public func orientation(of parameter: Bottom.Parameter) -> some Bottom.Aspect
public typealias Orientation = @_opaqueReturnTypeOf("$s3Top13ReferencesTopV11orientation2ofQrAA9ParameterV_tF", 0) __
}

View File

@@ -0,0 +1,4 @@
// swift-interface-format-version: 1.0
// swift-module-flags: -module-name Top -module-interface-preserve-types-as-written
@_exported import Bottom

View File

@@ -0,0 +1,3 @@
#!/bin/sh
/Users/rwidmann/SwiftInternal/build/Ninja-Release/swift-macosx-arm64/bin/swift-frontend -sdk $(xcrun --show-sdk-path) -compile-module-from-interface -module-name Bottom -o Bottom.swiftmodule Bottom.swiftinterface -verify