Skip to content

Commit a59db73

Browse files
committed
[nfc][cxx-interop] Fix a few tests.
1 parent 094b9ca commit a59db73

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
@@ -135,4 +135,4 @@ struct HasInheritedTemplatedConstIterator {
135135
typedef HasInheritedTemplatedConstIterator<int>
136136
HasInheritedTemplatedConstIteratorInt;
137137

138-
#endif // TEST_INTEROP_CXX_STDLIB_INPUTS_CUSTOM_SEQUENCE_H
138+
#endif // TEST_INTEROP_CXX_STDLIB_INPUTS_CUSTOM_SEQUENCE_H

0 commit comments

Comments
 (0)