File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
test/Interop/SwiftToCxxToSwift Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
2
// RUN: split-file %s %t
3
3
4
- // RUN: touch %t/swiftMod.h
5
- // RUN: %target-swift-frontend -typecheck %t/swiftMod.swift -typecheck -module-name SwiftMod -emit-clang-header-path %t/swiftMod.h -I %t -enable-experimental-cxx-interop
4
+ // RUN: %target-swift-frontend -typecheck %t/swiftMod.swift -typecheck -module-name SwiftMod -emit-clang-header-path %t/swiftMod.h -I %t -enable-experimental-cxx-interop -Xcc -DFIRSTPASS
6
5
7
6
// RUN: %FileCheck %s < %t/swiftMod.h
8
7
9
- // RUN: %target-swift-frontend -typecheck %t/swiftMod.swift -typecheck -module-name SwiftMod -emit-clang-header-path %t/swiftMod2.h -I %t -enable-experimental-cxx-interop -Xcc -DTEST_FORCE_MODULE_REBUILD
8
+ // RUN: %target-swift-frontend -typecheck %t/swiftMod.swift -typecheck -module-name SwiftMod -emit-clang-header-path %t/swiftMod2.h -I %t -enable-experimental-cxx-interop
10
9
11
10
// RUN: %check-interop-cxx-header-in-clang(%t/swiftMod2.h -DSWIFT_CXX_INTEROP_HIDE_STL_OVERLAY -Wno-error)
12
11
13
12
// XFAIL: OS=linux-android, OS=linux-androideabi
14
13
15
14
//--- header.h
15
+ #ifndef FIRSTPASS
16
16
#include " swiftMod.h "
17
+ #endif
17
18
18
19
//--- module.modulemap
19
20
module SwiftToCxxTest {
You can’t perform that action at this time.
0 commit comments