summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/include-own-headers.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/include-own-headers.m')
-rw-r--r--clang/test/Modules/include-own-headers.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Modules/include-own-headers.m b/clang/test/Modules/include-own-headers.m
new file mode 100644
index 00000000000..a5a85312ec3
--- /dev/null
+++ b/clang/test/Modules/include-own-headers.m
@@ -0,0 +1,4 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -fmodules -fmodule-name=Module -fimplicit-module-maps -fmodules-cache-path=%t -Werror=non-modular-include-in-framework-module -F%S/Inputs -I%S -fsyntax-only %s
+#include "Module/Module.h"
+#include "Inputs/non-module.h"
OpenPOWER on IntegriCloud