File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2
2
//
3
3
// REQUIRES: executable_test
4
4
// REQUIRES: OS=macosx || OS=linux-gnu
5
+ //
6
+ // XFAIL: *
5
7
6
8
import StdlibUnittest
7
9
import std
Original file line number Diff line number Diff line change @@ -31,13 +31,15 @@ struct ChildWithInlineCtorDtor1 {
31
31
};
32
32
33
33
template <class T >
34
- struct ChildWithInlineCtorDtor2 {
34
+ struct __attribute__ ((swift_attr( " import_unsafe " ))) ChildWithInlineCtorDtor2 {
35
35
inline ChildWithInlineCtorDtor2 () { HasInlineStaticMember<T>::member (); }
36
36
inline ~ChildWithInlineCtorDtor2 () { HasInlineStaticMember<T>::member (); }
37
37
};
38
38
39
39
template <class T >
40
- struct ParentWithChildWithInlineCtorDtor : ChildWithInlineCtorDtor1<T> {};
40
+ struct
41
+ __attribute__ ((swift_attr(" import_unsafe" )))
42
+ ParentWithChildWithInlineCtorDtor : ChildWithInlineCtorDtor1<T> {};
41
43
42
44
template <class T >
43
45
struct HolderWithChildWithInlineCtorDtor {
You can’t perform that action at this time.
0 commit comments