We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fa5803 commit f7a2e18Copy full SHA for f7a2e18
test/Interop/Cxx/class/invalid-unsafe-projection-errors.swift
@@ -13,13 +13,14 @@ struct Ptr { int *p; };
13
struct __attribute__((swift_attr("import_owned"))) StirngLiteral { const char *name; };
14
15
struct M {
16
- int *_Nonnull test1() const;
17
- int &test2() const;
18
- Ptr test3() const;
+ M(const M&);
+ int *_Nonnull test1() const;
+ int &test2() const;
19
+ Ptr test3() const;
20
- int *begin() const;
21
+ int *begin() const;
22
- StirngLiteral stringLiteral() const { return StirngLiteral{"M"}; }
23
+ StirngLiteral stringLiteral() const { return StirngLiteral{"M"}; }
24
};
25
26
//--- test.swift
0 commit comments