From 2a2a188e4195c0589533c3d126cea35b128bb323 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20Laferri=C3=A8re?= Date: Tue, 16 Sep 2025 13:29:47 -0700 Subject: [PATCH] Tests: Allow Interpreter/cdecl_official_run.swift to run against older OSes rdar://160448792 --- test/Interpreter/cdecl_official_run.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Interpreter/cdecl_official_run.swift b/test/Interpreter/cdecl_official_run.swift index fea2d8b049a66..523fdbc929006 100644 --- a/test/Interpreter/cdecl_official_run.swift +++ b/test/Interpreter/cdecl_official_run.swift @@ -5,12 +5,16 @@ // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) \ // RUN: %t/Lib.swift -emit-module -verify -o %t -emit-module-doc \ // RUN: -emit-clang-header-path %t/cdecl.h \ +// RUN: -disable-implicit-string-processing-module-import \ +// RUN: -disable-implicit-concurrency-module-import \ // RUN: -enable-experimental-feature CDecl /// Build and run a binary from Swift and C code. // RUN: %clang-no-modules -c %t/Client.c -o %t/Client.o -target %target-triple \ // RUN: %target-pic-opt -I %t -I %clang-include-dir -Werror -isysroot %sdk // RUN: %target-build-swift %t/Lib.swift %t/Client.o -O -o %t/a.out \ +// RUN: -Xfrontend -disable-implicit-string-processing-module-import \ +// RUN: -Xfrontend -disable-implicit-concurrency-module-import \ // RUN: -enable-experimental-feature CDecl -parse-as-library // RUN: %target-codesign %t/a.out // RUN: %target-run %t/a.out > %t/run.log