File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
// REQUIRES: objc_interop, OS=macosx
6
6
// RUN: %empty-directory(%t)
7
7
// RUN: cp %s %t/MyModule.swiftinterface
8
- // RUN: %target-swift-api-extract -target x86_64-apple-macos11.0 -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule | %FileCheck %s
8
+ // RUN: %target-swift-api-extract -target x86_64-apple-macos11.0 -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule -module-cache-path %t | %FileCheck %s
9
9
10
10
public func publicFunction( )
11
11
internal func internalFunction( )
Original file line number Diff line number Diff line change 1
1
// REQUIRES: objc_interop, OS=macosx
2
2
// RUN: %empty-directory(%t)
3
- // RUN: %target-swift-frontend %s -typecheck -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5
4
- // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule | %FileCheck %s
3
+ // RUN: %target-swift-frontend %s -typecheck -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5
4
+ // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule -module-cache-path %t | %FileCheck %s
5
5
6
6
import Foundation
7
7
Original file line number Diff line number Diff line change 1
1
// REQUIRES: objc_interop, OS=macosx
2
2
// RUN: %empty-directory(%t)
3
3
// RUN: %target-swift-frontend %s -typecheck -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5
4
- // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule | %FileCheck %s
4
+ // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule -module-cache-path %t | %FileCheck %s
5
5
6
6
import Foundation
7
7
Original file line number Diff line number Diff line change 1
1
// REQUIRES: objc_interop, OS=macosx
2
2
// RUN: %empty-directory(%t)
3
3
// RUN: %target-swift-frontend %s -typecheck -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5
4
- // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule | %FileCheck %s
4
+ // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule -module-cache-path %t | %FileCheck %s
5
5
6
6
import Foundation
7
7
Original file line number Diff line number Diff line change 1
1
// REQUIRES: objc_interop, OS=macosx
2
2
// RUN: %empty-directory(%t)
3
3
// RUN: %target-swift-frontend %s -typecheck -emit-module-interface-path %t/MyModule.swiftinterface -enable-library-evolution -module-name MyModule -swift-version 5
4
- // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule | %FileCheck %s
4
+ // RUN: %target-swift-api-extract -o - -pretty-print %t/MyModule.swiftinterface -module-name MyModule -module-cache-path %t | %FileCheck %s
5
5
6
6
// Struct has no objc data.
7
7
@available ( macOS 10 . 13 , * )
You can’t perform that action at this time.
0 commit comments