Skip to content

Commit eb63b0d

Browse files
committed
[cxx-interop] attempt to fix windows unique ptr test
1 parent 580ecd0 commit eb63b0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/Interop/Cxx/stdlib/Inputs/std-unique-ptr.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ std::unique_ptr<int[]> makeArray() {
1717

1818
static bool dtorCalled = false;
1919
struct HasDtor {
20+
inline HasDtor() {}
21+
inline HasDtor(const HasDtor &other);
2022
~HasDtor() {
2123
dtorCalled = true;
2224
}

0 commit comments

Comments
 (0)