summaryrefslogtreecommitdiff
path: root/test/Preprocessor/nonportable-include-with-hmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Preprocessor/nonportable-include-with-hmap.c')
-rw-r--r--test/Preprocessor/nonportable-include-with-hmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/Preprocessor/nonportable-include-with-hmap.c b/test/Preprocessor/nonportable-include-with-hmap.c
index fc958e7e5e3f0..bbbd669a0f39f 100644
--- a/test/Preprocessor/nonportable-include-with-hmap.c
+++ b/test/Preprocessor/nonportable-include-with-hmap.c
@@ -1,5 +1,7 @@
+// RUN: rm -f %t.hmap
+// RUN: %hmaptool write %S/Inputs/nonportable-hmaps/foo.hmap.json %t.hmap
// RUN: %clang_cc1 -Eonly \
-// RUN: -I%S/Inputs/nonportable-hmaps/foo.hmap \
+// RUN: -I%t.hmap \
// RUN: -I%S/Inputs/nonportable-hmaps \
// RUN: %s -verify
//