summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/foo.framework
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/foo.framework')
-rw-r--r--test/Preprocessor/foo.framework/Headers/bar.h3
-rw-r--r--test/Preprocessor/foo.framework/Headers/foo.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/test/Preprocessor/foo.framework/Headers/bar.h b/test/Preprocessor/foo.framework/Headers/bar.h
new file mode 100644
index 0000000..574e851
--- /dev/null
+++ b/test/Preprocessor/foo.framework/Headers/bar.h
@@ -0,0 +1,3 @@
+
+int y;
+
diff --git a/test/Preprocessor/foo.framework/Headers/foo.h b/test/Preprocessor/foo.framework/Headers/foo.h
new file mode 100644
index 0000000..b08d948
--- /dev/null
+++ b/test/Preprocessor/foo.framework/Headers/foo.h
@@ -0,0 +1,6 @@
+// This should warn: published framework headers should always
+// #import headers within the framework with framework paths.
+#include "bar.h"
+
+int x;
+
OpenPOWER on IntegriCloud