summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/dump_import.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Preprocessor/dump_import.m')
-rw-r--r--clang/test/Preprocessor/dump_import.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/dump_import.m b/clang/test/Preprocessor/dump_import.m
new file mode 100644
index 00000000000..20424ad507b
--- /dev/null
+++ b/clang/test/Preprocessor/dump_import.m
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -E -dI %s -o - | FileCheck %s
+// CHECK: {{^}}#import "dump_
+
+// See also `dump_include.c` which tests other inclusion cases with `-dI`.
+
+#import "dump_import.h"
OpenPOWER on IntegriCloud