Daniel Jasper | 3cd34c7 | 2013-12-06 09:25:54 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Richard Smith | 47972af | 2015-06-16 00:08:24 +0000 | [diff] [blame] | 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 |
Daniel Jasper | 3cd34c7 | 2013-12-06 09:25:54 +0000 | [diff] [blame] | 3 | |
Richard Smith | 9565c75b | 2017-06-19 23:09:36 +0000 | [diff] [blame] | 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 | |
Daniel Jasper | 3cd34c7 | 2013-12-06 09:25:54 +0000 | [diff] [blame] | 8 | #include "a.h" |
| 9 | #include "b.h" // expected-error {{does not depend on a module exporting}} |
| 10 | #include "c.h" |