Files
swift-mirror/test/AutoDiff/compiler_crashers_fixed/rdar74087329-debug-scope-trampoline-blocks.swift
Alex Hoppen 069f382023 Disable rdar74087329-debug-scope-trampoline-blocks.swift
This is failing on the Linux bots. Let’s disable the test for now. #63107 tracks the actual failure.
2023-01-20 19:40:24 +01:00

14 lines
333 B
Swift

// RUN: %target-build-swift %s
// RUN: %target-swift-frontend -c -g -Xllvm -verify-di-holes=true %s
// REQUIRES: issue63107
// rdar://74087329 (DI verification failure with trampoline blocks in VJP)
import _Differentiation
func foo(x: Float?) -> Float {
_ = withoutDerivative(at: x ?? 0)
return 0
}
gradient(at: 0, of: foo)