aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/global_index.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/global_index.m')
-rw-r--r--test/Modules/global_index.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Modules/global_index.m b/test/Modules/global_index.m
new file mode 100644
index 0000000000..b170aa4dda
--- /dev/null
+++ b/test/Modules/global_index.m
@@ -0,0 +1,8 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -Wauto-import -fmodule-cache-path %t -fdisable-module-hash -fmodules -generate-module-index -F %S/Inputs %s -verify
+// RUN: ls %t|grep modules.idx
+// REQUIRES: shell
+
+// expected-no-diagnostics
+@import DependsOnModule;
+