Skip to content

Commit 44b9985

Browse files
committed
test fixes
1 parent 8c3e6a8 commit 44b9985

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/Interop/Cxx/foreign-reference/Inputs/reference-counted.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define TEST_INTEROP_CXX_FOREIGN_REFERENCE_INPUTS_REFERENCE_COUNTED_H
33

44
#include <stdlib.h>
5+
#include <new>
56

67
#include "visibility.h"
78

test/Interop/Cxx/stdlib/foundation-and-std-module.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212

1313
// REQUIRES: OS=macosx || OS=linux-gnu
1414

15+
#if canImport(Foundation)
1516
import Foundation
17+
#endif
1618

1719
#if ADD_CXXSTDLIB
1820
import CxxStdlib

0 commit comments

Comments
 (0)