Skip to content

Commit 2442737

Browse files
committed
NFC: Fix %target-run-simple-swift invocations in a couple of tests.
The `-unavailable-decl-optimization` flag is a frontend flag and therefore requires `-Xfrontend` when passed through the driver.
1 parent 903e68b commit 2442737

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/decl/protocol/special/coding/enum_coding_key_unavailable_element.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-simple-swift
2-
// RUN: %target-run-simple-swift(-unavailable-decl-optimization=complete)
2+
// RUN: %target-run-simple-swift(-Xfrontend -unavailable-decl-optimization=complete)
33

44
// REQUIRES: executable_test
55

test/stdlib/CodableEnumUnavailableElement.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %target-run-simple-swift
2-
// RUN: %target-run-simple-swift(-unavailable-decl-optimization=complete)
2+
// RUN: %target-run-simple-swift(-Xfrontend -unavailable-decl-optimization=complete)
33
// REQUIRES: executable_test
44
// REQUIRES: objc_interop
55

0 commit comments

Comments
 (0)