diff options
Diffstat (limited to 'test/Modules/Inputs/macro-ambiguity/d/system/d_system.h')
-rw-r--r-- | test/Modules/Inputs/macro-ambiguity/d/system/d_system.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Modules/Inputs/macro-ambiguity/d/system/d_system.h b/test/Modules/Inputs/macro-ambiguity/d/system/d_system.h new file mode 100644 index 000000000000..5c10cc14e889 --- /dev/null +++ b/test/Modules/Inputs/macro-ambiguity/d/system/d_system.h @@ -0,0 +1,14 @@ +#ifndef D_SYSTEM_H +#define D_SYSTEM_H + +// FIXME: We have to use this to mark the header as a system header in +// a module because header search didn't actually occur and so we can't have +// found the header via system header search, even though when we map to this +// header and load the module we will have mapped to the header by finding it +// via system header search. +#pragma GCC system_header + +#define BAR1_SYSTEM(x) 2 * x +#define BAR2_SYSTEM(x) 2 * x + +#endif |