summaryrefslogtreecommitdiff
path: root/clang/test/Driver/index-header-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/index-header-map.c')
-rw-r--r--clang/test/Driver/index-header-map.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/index-header-map.c b/clang/test/Driver/index-header-map.c
new file mode 100644
index 0000000..8bd677a
--- /dev/null
+++ b/clang/test/Driver/index-header-map.c
@@ -0,0 +1,4 @@
+// RUN: %clang -I%S/Before -index-header-map -I%S/Index -I%S/After %s -### 2>> %t.log
+// RUN: FileCheck %s < %t.log
+
+// CHECK: {{-I.*Before.*-index-header-map.*-I.*Index.*-I.*After}}