Skip to content

Commit d3e1451

Browse files
committed
Disable C++ interop test: std-span-transformed-execution.swift
rdar://147267918 (Fix CxxSpanReturnThunkBuilder to override the lifetime of the CxxSpan) @_unsafeNonescapableResult is now fixed so that _overrideLifetime is correctly diagnosed. It only disables diagnostics within the function body. It should have no effect on the caller's diagnostics.
1 parent 95626d0 commit d3e1451

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/Interop/Cxx/stdlib/std-span-transformed-execution.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// RUN: %target-run-simple-swift(-plugin-path %swift-plugin-dir -I %S/Inputs -Xfrontend -enable-experimental-cxx-interop -swift-version 6 -Xfrontend -disable-availability-checking -Xcc -std=c++20 -enable-experimental-feature LifetimeDependence -enable-experimental-feature SafeInteropWrappers)
22

3+
// Fix CxxSpanReturnThunkBuilder to use _overrideLifetime:
4+
// REQUIRES: rdar147267918
5+
36
// FIXME swift-ci linux tests do not support std::span
47
// UNSUPPORTED: OS=linux-gnu
58

0 commit comments

Comments
 (0)