summaryrefslogtreecommitdiff
path: root/test/VFS/framework-import.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/VFS/framework-import.m')
-rw-r--r--test/VFS/framework-import.m9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/VFS/framework-import.m b/test/VFS/framework-import.m
new file mode 100644
index 0000000000000..b40bc549c0a93
--- /dev/null
+++ b/test/VFS/framework-import.m
@@ -0,0 +1,9 @@
+// RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml
+// RUN: %clang_cc1 -Werror -F %t -ivfsoverlay %t.yaml -fsyntax-only %s
+// REQUIRES: shell
+
+#import <SomeFramework/public_header.h>
+
+void foo() {
+ from_framework();
+}