File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 17
17
// RUN: -enable-library-evolution \
18
18
// RUN: -swift-version 5 -verify
19
19
20
- /// This is a warning in swiftinterfaces
21
- // R UN: %target-swift-typecheck-module-from-interface(%t/Client.private.swiftinterface) \
22
- // RUN: -enable-library-evolution \
23
- // R UN: -I %t -module-name Client
24
-
25
20
//--- Lib.swift
26
21
27
22
public struct IOIStruct {
@@ -53,12 +48,3 @@ public struct IOIStruct {
53
48
return IOIStruct ( ) // expected-error {{struct 'IOIStruct' cannot be used in an '@inlinable' function because 'Lib' was imported implementation-only}}
54
49
// expected-error @-1 {{initializer 'init()' cannot be used in an '@inlinable' function because 'Lib' was imported implementation-only}}
55
50
}
56
-
57
- //--- Client.private.swiftinterface
58
-
59
- // swift-interface-format-version: 1.0
60
- // swift-compiler-version: Swift version 5.8-dev effective-4.1.50
61
- // swift-module-flags: -swift-version 4 -module-name Client
62
- @_implementationOnly import Lib
63
-
64
- @_spi ( X) public func spiClient( ) -> IOIStruct { fatalError ( ) }
You can’t perform that action at this time.
0 commit comments