[clang] 7b12e56 - [test/Modules/cxx20-export-import.cpp] Pre-clean the modules cache directory of the test, NFC
Argyrios Kyrtzidis via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 5 17:27:50 PDT 2022
Author: Argyrios Kyrtzidis
Date: 2022-08-05T17:27:43-07:00
New Revision: 7b12e561ac7aa9604022d56c8561bd472e78f2ed
URL: https://github.com/llvm/llvm-project/commit/7b12e561ac7aa9604022d56c8561bd472e78f2ed
DIFF: https://github.com/llvm/llvm-project/commit/7b12e561ac7aa9604022d56c8561bd472e78f2ed.diff
LOG: [test/Modules/cxx20-export-import.cpp] Pre-clean the modules cache directory of the test, NFC
Added:
Modified:
clang/test/Modules/cxx20-export-import.cpp
Removed:
################################################################################
diff --git a/clang/test/Modules/cxx20-export-import.cpp b/clang/test/Modules/cxx20-export-import.cpp
index a2620bd60064..6424ed5cebe3 100644
--- a/clang/test/Modules/cxx20-export-import.cpp
+++ b/clang/test/Modules/cxx20-export-import.cpp
@@ -1,3 +1,4 @@
+// RUN: rm -rf %t
// RUN: %clang_cc1 -std=c++20 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I%S/Inputs -verify %s
export import dummy; // expected-error {{export declaration can only be used within a module interface unit after the module declaration}}
More information about the cfe-commits
mailing list