summaryrefslogtreecommitdiff
path: root/test/Modules/Inputs/unavailable-local-visibility/b.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/Inputs/unavailable-local-visibility/b.h')
-rw-r--r--test/Modules/Inputs/unavailable-local-visibility/b.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/Modules/Inputs/unavailable-local-visibility/b.h b/test/Modules/Inputs/unavailable-local-visibility/b.h
new file mode 100644
index 000000000000..71360e38b7b1
--- /dev/null
+++ b/test/Modules/Inputs/unavailable-local-visibility/b.h
@@ -0,0 +1,13 @@
+#ifndef B_H
+#define B_H
+#include "a.h"
+
+#ifndef A_H
+#error where is a?
+#endif
+
+#ifndef X_H
+#error where is x?
+#endif
+X f();
+#endif