summaryrefslogtreecommitdiff
path: root/clang/test/Modules/header-import.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/header-import.m')
-rw-r--r--clang/test/Modules/header-import.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/Modules/header-import.m b/clang/test/Modules/header-import.m
new file mode 100644
index 0000000..5444854
--- /dev/null
+++ b/clang/test/Modules/header-import.m
@@ -0,0 +1,7 @@
+// RUN: rm -rf %t
+// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -I %S/Inputs -verify %s
+
+#import "point.h"
+@__experimental_modules_import Module;
+#import "point.h"
+