summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/explicit-build/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/explicit-build/c.h')
-rw-r--r--test/Modules/Inputs/explicit-build/c.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Modules/Inputs/explicit-build/c.h b/test/Modules/Inputs/explicit-build/c.h
new file mode 100644
index 0000000000000..2c66a23e8927a
--- /dev/null
+++ b/test/Modules/Inputs/explicit-build/c.h
@@ -0,0 +1,7 @@
+#include "b.h"
+
+#if !__building_module(c)
+#error "should only get here when building module c"
+#endif
+
+const int c = 3;