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