summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/Inputs')
-rw-r--r--clang/test/Modules/Inputs/private3/private.h7
-rw-r--r--clang/test/Modules/Inputs/private3/public.h11
2 files changed, 18 insertions, 0 deletions
diff --git a/clang/test/Modules/Inputs/private3/private.h b/clang/test/Modules/Inputs/private3/private.h
new file mode 100644
index 00000000000..cf34b14c2e5
--- /dev/null
+++ b/clang/test/Modules/Inputs/private3/private.h
@@ -0,0 +1,7 @@
+#ifndef PRIVATE_H
+#define PRIVATE_H
+
+void priv();
+
+#endif
+
diff --git a/clang/test/Modules/Inputs/private3/public.h b/clang/test/Modules/Inputs/private3/public.h
new file mode 100644
index 00000000000..2cf9d214d34
--- /dev/null
+++ b/clang/test/Modules/Inputs/private3/public.h
@@ -0,0 +1,11 @@
+#ifndef PUBLIC_H
+#define PUBLIC_H
+
+#include "private.h"
+
+void pub() {
+ priv();
+}
+
+#endif
+
OpenPOWER on IntegriCloud