aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/macro-ambiguity/a/system/a_system.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/macro-ambiguity/a/system/a_system.h')
-rw-r--r--test/Modules/Inputs/macro-ambiguity/a/system/a_system.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/Modules/Inputs/macro-ambiguity/a/system/a_system.h b/test/Modules/Inputs/macro-ambiguity/a/system/a_system.h
new file mode 100644
index 000000000000..f9f32879ae91
--- /dev/null
+++ b/test/Modules/Inputs/macro-ambiguity/a/system/a_system.h
@@ -0,0 +1,15 @@
+#ifndef A_SYSTEM_H
+#define A_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 FOO1_SYSTEM(x) x + x
+#define BAR1_SYSTEM(x) x + x
+#define BAZ1_SYSTEM(x) x + x
+
+#endif