You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Interop/Cxx/class/invalid-class-errors.swift
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,6 @@ module Test {
9
9
}
10
10
11
11
//--- Inputs/test.h
12
-
struct X;
13
-
14
12
structA{
15
13
A(const A&)= delete;
16
14
};
@@ -23,9 +21,6 @@ struct __attribute__((swift_attr("import_unsafe"))) B {
23
21
24
22
import Test
25
23
26
-
// CHECK: note: record 'X' is not defined (incomplete)
27
-
publicfunc test(x:X){}
28
-
29
24
// CHECK: note: record 'A' is not automatically importable: does not have a copy constructor or destructor. Refer to the C++ Interop User Manual to classify this type.
30
25
publicfunc test(x:A){}
31
26
// CHECK: note: record 'B' is not automatically importable: does not have a copy constructor or destructor. Refer to the C++ Interop User Manual to classify this type.
0 commit comments