Skip to content

Commit ffc57bf

Browse files
committed
[cxx-interop][nfc] Fix last straggling test.
1 parent fd7b39e commit ffc57bf

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/Interop/Cxx/class/invalid-unsafe-projection-errors.swift

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,14 @@ struct Ptr { int *p; };
1313
struct __attribute__((swift_attr("import_owned"))) StirngLiteral { const char *name; };
1414

1515
struct M {
16-
int *_Nonnull test1() const;
17-
int &test2() const;
18-
Ptr test3() const;
16+
M(const M&);
17+
int *_Nonnull test1() const;
18+
int &test2() const;
19+
Ptr test3() const;
1920

20-
int *begin() const;
21+
int *begin() const;
2122

22-
StirngLiteral stringLiteral() const { return StirngLiteral{"M"}; }
23+
StirngLiteral stringLiteral() const { return StirngLiteral{"M"}; }
2324
};
2425

2526
//--- test.swift

0 commit comments

Comments
 (0)