Files
swift-mirror/test/Interop/Cxx/implementation-only-imports/import-implementation-only-cxx-interop-module-without-interop.swift
Alex Lorenz ba5b1bab89 [cxx-interop] Use a synthesized C++ method when invoking a base method from a derived class synthesized method
The use of a synthesized C++ method allows us to avoid making a copy of self when invoking the base method from Swift
2023-09-29 13:52:10 -07:00

12 lines
433 B
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend %S/Inputs/use-module-a-impl-only.swift -I %S/Inputs/ -module-name UseModuleAImplOnly -emit-module -emit-module-path %t/UseModuleAImplOnly.swiftmodule -cxx-interoperability-mode=default -enable-library-evolution
// RUN: %target-swift-frontend %s -typecheck -module-name TestMod -I %t -I %S/Inputs
import UseModuleAImplOnly
public func testCallsAPI() {
testUsesA()
}