aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-08-05 17:26:51 -0700
committerArgyrios Kyrtzidis <kyrtzidis@apple.com>2022-08-05 17:27:43 -0700
commit7b12e561ac7aa9604022d56c8561bd472e78f2ed (patch)
tree91e556ebde8717a4dc7a25ed42b958eea8f2c491
parentabd9807590fc10eb92eb22aea7b50dbf08db7e9d (diff)
[test/Modules/cxx20-export-import.cpp] Pre-clean the modules cache directory of the test, NFC
-rw-r--r--clang/test/Modules/cxx20-export-import.cpp1
1 files changed, 1 insertions, 0 deletions
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}}