From 9c6914f33b91fe3a449680c5726b7b886687fa5f Mon Sep 17 00:00:00 2001 From: "Podchishchaeva, Mariya" Date: Thu, 18 Jul 2024 04:04:13 -0700 Subject: [PATCH] Rename the test --- clang/test/Preprocessor/embed_file_not_found_chevron.c | 3 +-- clang/test/Preprocessor/embed_search_paths.c | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 clang/test/Preprocessor/embed_search_paths.c diff --git a/clang/test/Preprocessor/embed_file_not_found_chevron.c b/clang/test/Preprocessor/embed_file_not_found_chevron.c index b6d110f452c09b..472222aafa55a0 100644 --- a/clang/test/Preprocessor/embed_file_not_found_chevron.c +++ b/clang/test/Preprocessor/embed_file_not_found_chevron.c @@ -1,5 +1,4 @@ -// RUN: %clang_cc1 -std=c23 %s -E -verify --embed-dir=%S --embed-dir=%S/Inputs +// RUN: %clang_cc1 -std=c23 %s -E -verify -#embed #embed // expected-error@-1 {{'nfejfNejAKFe' file not found}} diff --git a/clang/test/Preprocessor/embed_search_paths.c b/clang/test/Preprocessor/embed_search_paths.c new file mode 100644 index 00000000000000..5cc1bbf9f87a94 --- /dev/null +++ b/clang/test/Preprocessor/embed_search_paths.c @@ -0,0 +1,4 @@ +// RUN: %clang_cc1 -std=c23 %s -E -verify --embed-dir=%S --embed-dir=%S/Inputs +// expected-no-diagnostics + +#embed