Skip to content

Commit 37c4725

Browse files
committed
Fix small explicit module build test file issues
- Explicitly import `Swift` in swiftinterface files - Use quote header file imports instead of <>
1 parent ae26048 commit 37c4725

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include <A.h>
1+
#include "A.h"
22

33
void funcB(void);
44

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#include <B.h>
1+
#include "B.h"
22

33
void funcC(void);
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// swift-interface-format-version: 1.0
22
// swift-module-flags: -module-name A
3+
import Swift
34
@_exported import A
45
public func overlayFuncA() { }
56

TestInputs/ExplicitModuleBuilds/Swift/G.swiftinterface

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// swift-module-flags: -module-name G -swift-version 5
33

44
#if swift(>=5.0)
5-
5+
import Swift
66
@_exported import G
77
public func overlayFuncG() { }
88

0 commit comments

Comments
 (0)