Tests: Add REQUIRES: optimized_stdlib to skip-function-bodies-Onone.swift.

This commit is contained in:
Allan Shortlidge
2023-09-24 15:24:18 -07:00
parent 8fa720d27e
commit 0c268e03e3

View File

@@ -2,4 +2,6 @@
// RUN: %target-swift-frontend -typecheck -experimental-skip-non-inlinable-function-bodies-without-types -module-name SwiftOnoneSupport %s 2>&1 | %FileCheck %s
// RUN: %target-swift-frontend -typecheck -experimental-skip-all-function-bodies -module-name SwiftOnoneSupport %s 2>&1 | %FileCheck %s
// REQUIRES: optimized_stdlib
// CHECK: module 'SwiftOnoneSupport' cannot be built with any of the -experimental-skip-*-function-bodies* flags; they have been automatically disabled