annotate clang/test/Modules/string_names.cpp @ 266:00f31e85ec16
default tip
Added tag current for changeset 31d058e83c98
author |
Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
date |
Sat, 14 Oct 2023 10:13:55 +0900 |
parents |
1f2b6ac9f198 |
children |
|
rev |
line source |
150
|
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"
|
252
|
9 #include "b.h" // expected-error {{module my/module-a does not directly depend on a module exporting 'b.h', which is part of indirectly-used module my/module-b}}
|
150
|
10 #include "c.h"
|