File tree Expand file tree Collapse file tree 5 files changed +8
-10
lines changed
test/Interop/C/implementation-only-imports Expand file tree Collapse file tree 5 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ inline int getFortyTwo() {
5
5
return 42 ;
6
6
};
7
7
8
- #endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_HELPER_H
8
+ #endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_HELPER_H
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ module UserA {
6
6
module UserB {
7
7
header "user_b.h"
8
8
export *
9
- }
9
+ }
Original file line number Diff line number Diff line change 3
3
4
4
#include "helper.h"
5
5
6
- #endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USERA_H
6
+ #endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USERA_H
Original file line number Diff line number Diff line change 1
- #ifndef TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_HELPER_H
2
- #define TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_HELPER_H
1
+ #ifndef TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USERB_H
2
+ #define TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USERB_H
3
3
4
- inline int getFortyTwo () {
5
- return 42 ;
6
- };
4
+ #include "helper.h"
7
5
8
- #endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_HELPER_H
6
+ #endif // TEST_INTEROP_C_IMPLEMENTATION_ONLY_IMPORTS_INPUTS_USERB_H
Original file line number Diff line number Diff line change @@ -24,4 +24,4 @@ import UserB
24
24
@_inlineable
25
25
public func callFortyTwo( ) -> CInt {
26
26
return getFortyTwo ( )
27
- }
27
+ }
You can’t perform that action at this time.
0 commit comments