From ad9f38d0e3a5e7e06c39dbd7da88a921a49aa805 Mon Sep 17 00:00:00 2001 From: Chuanqi Xu Date: Tue, 7 May 2024 13:25:07 +0800 Subject: [PATCH] [NFC] Fix Modules/no-transitive-source-location-change.cppm after dfa7ff97b2 The test fails after dfa7ff97b2. I didn't find this locally due to cache. --- clang/test/Modules/no-transitive-source-location-change.cppm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clang/test/Modules/no-transitive-source-location-change.cppm b/clang/test/Modules/no-transitive-source-location-change.cppm index c9d156a74ce822..2a84ef6a912f54 100644 --- a/clang/test/Modules/no-transitive-source-location-change.cppm +++ b/clang/test/Modules/no-transitive-source-location-change.cppm @@ -1,6 +1,9 @@ // Testing that adding a new line in a module interface unit won't cause the BMI // of consuming module unit changes. // +// RUN: rm -rf %t +// RUN: split-file %s %t +// // RUN: %clang_cc1 -std=c++20 %t/A.cppm -emit-reduced-module-interface -o %t/A.pcm // RUN: %clang_cc1 -std=c++20 %t/A.v1.cppm -emit-reduced-module-interface -o %t/A.v1.pcm //