Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions test/Interpreter/layout_string_witnesses_dynamic.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
// UNSUPPORTED: use_os_stdlib
// UNSUPPORTED: back_deployment_runtime

// test disabled until rdar://151476435 is fixed
// REQUIRES: rdar151476435

import Swift
import layout_string_witnesses_types
import layout_string_witnesses_types_resilient
Expand All @@ -33,7 +30,7 @@ class TestClass {

func testGeneric() {
let ptr = allocateInternalGenericPtr(of: TestClass.self)

do {
let x = TestClass()
testGenericInit(ptr, to: x)
Expand Down Expand Up @@ -1246,7 +1243,7 @@ func testNonCopyableGenericStructSimpleClass() {
let ptr = UnsafeMutableBufferPointer<NonCopyableGenericStruct<SimpleClass>>.allocate(capacity: 1)

let x = NonCopyableGenericStruct(x: 23, y: SimpleClass(x: 23))
ptr[0] = x
ptr.initializeElement(at: 0, to: x)

// CHECK-NEXT: Before deinit
print("Before deinit")
Expand All @@ -1264,7 +1261,7 @@ func testNonCopyableGenericEnumSimpleClass() {
let ptr = UnsafeMutableBufferPointer<NonCopyableGenericEnum<SimpleClass>>.allocate(capacity: 1)

let x = NonCopyableGenericEnum.x(23, SimpleClass(x: 23))
ptr[0] = x
ptr.initializeElement(at: 0, to: x)

// CHECK-NEXT: Before deinit
print("Before deinit")
Expand Down