summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs/unavailable-local-visibility/b.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs/unavailable-local-visibility/b.h')
-rw-r--r--clang/test/Modules/Inputs/unavailable-local-visibility/b.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/unavailable-local-visibility/b.h b/clang/test/Modules/Inputs/unavailable-local-visibility/b.h
new file mode 100644
index 00000000000..71360e38b7b
--- /dev/null
+++ b/clang/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
OpenPOWER on IntegriCloud