Files
swift-mirror/test/IDE/rdar141440011.swift
Stefan Gränitz c4b0bae6e4 Use target-specific substitutions for target-specific RUN-lines (#79998)
Target-specific run-lines should use the respective target-specific substitutions
2025-03-15 00:40:59 +01:00

9 lines
440 B
Swift

public protocol MyProto {}
public struct MyStruct: MyProto {}
// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module -o %t/swift_mod.swiftmodule %s -parse-as-library -experimental-skip-all-function-bodies -experimental-skip-non-exportable-decls -experimental-lazy-typecheck
// RUN: %target-swift-synthesize-interface -module-name swift_mod -I %t -o - | %FileCheck %s
// CHECK: public struct MyStruct : swift_mod.MyProto