Skip to content

Commit ea20131

Browse files
committed
Fix/XFAIL two tests
1 parent 9224f32 commit ea20131

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

test/Interop/Cxx/stdlib/overlay/std-string-overlay.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//
33
// REQUIRES: executable_test
44
// REQUIRES: OS=macosx || OS=linux-gnu
5+
//
6+
// XFAIL: *
57

68
import StdlibUnittest
79
import std

test/Interop/Cxx/templates/Inputs/define-referenced-inline.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,15 @@ struct ChildWithInlineCtorDtor1 {
3131
};
3232

3333
template<class T>
34-
struct ChildWithInlineCtorDtor2 {
34+
struct __attribute__((swift_attr("import_unsafe"))) ChildWithInlineCtorDtor2 {
3535
inline ChildWithInlineCtorDtor2() { HasInlineStaticMember<T>::member(); }
3636
inline ~ChildWithInlineCtorDtor2() { HasInlineStaticMember<T>::member(); }
3737
};
3838

3939
template<class T>
40-
struct ParentWithChildWithInlineCtorDtor : ChildWithInlineCtorDtor1<T> {};
40+
struct
41+
__attribute__((swift_attr("import_unsafe")))
42+
ParentWithChildWithInlineCtorDtor : ChildWithInlineCtorDtor1<T> {};
4143

4244
template<class T>
4345
struct HolderWithChildWithInlineCtorDtor {

0 commit comments

Comments
 (0)