Skip to content

Commit d879e3e

Browse files
committed
[nfc][cxx-interop] Fix a few tests.
1 parent 5bc6abd commit d879e3e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

test/Interop/Cxx/class/Inputs/type-classification.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ struct __attribute__((swift_attr("import_iterator"))) Iterator {
232232
};
233233

234234
struct HasMethodThatReturnsIterator {
235+
HasMethodThatReturnsIterator(const HasMethodThatReturnsIterator&);
235236
Iterator getIterator() const;
236237
};
237238

@@ -240,6 +241,7 @@ struct IteratorBox {
240241
};
241242

242243
struct HasMethodThatReturnsIteratorBox {
244+
HasMethodThatReturnsIteratorBox(const HasMethodThatReturnsIteratorBox&);
243245
IteratorBox getIteratorBox() const;
244246
};
245247

test/Interop/Cxx/stdlib/overlay/Inputs/custom-sequence.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,4 @@ struct HasTemplatedIterator {
108108

109109
typedef HasTemplatedIterator<int> HasUninstantiatableIterator;
110110

111-
#endif // TEST_INTEROP_CXX_STDLIB_INPUTS_CUSTOM_SEQUENCE_H
111+
#endif // TEST_INTEROP_CXX_STDLIB_INPUTS_CUSTOM_SEQUENCE_H

0 commit comments

Comments
 (0)