1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -fmodules-decluse -I %S/Inputs/string_names %s -fmodule-name="my/module-a" -verify |
3 | |
4 | // Check that we can preprocess with string module names. |
5 | // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/string_names %s -fmodule-name="my/module-a" -E -frewrite-imports -o %t/test.ii |
6 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-decluse -I %S/Inputs/string_names %t/test.ii -fmodule-name="my/module-a" |
7 | |
8 | #include "a.h" |
9 | #include "b.h" // expected-error {{does not depend on a module exporting}} |
10 | #include "c.h" |
11 | |