2014-11-24 04:15:30 -05:00
|
|
|
// RUN: rm -rf %t
|
2015-06-21 10:00:56 -04:00
|
|
|
// 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
|
2014-11-24 04:15:30 -05:00
|
|
|
|
2017-06-26 16:33:12 -04:00
|
|
|
// Check that we can preprocess with string module names.
|
|
|
|
|
// 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
|
|
|
|
|
// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-decluse -I %S/Inputs/string_names %t/test.ii -fmodule-name="my/module-a"
|
|
|
|
|
|
2014-11-24 04:15:30 -05:00
|
|
|
#include "a.h"
|
|
|
|
|
#include "b.h" // expected-error {{does not depend on a module exporting}}
|
|
|
|
|
#include "c.h"
|