aboutsummaryrefslogtreecommitdiff
path: root/test/VFS/implicit-include.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/VFS/implicit-include.c')
-rw-r--r--test/VFS/implicit-include.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/VFS/implicit-include.c b/test/VFS/implicit-include.c
new file mode 100644
index 000000000000..acf665bee248
--- /dev/null
+++ b/test/VFS/implicit-include.c
@@ -0,0 +1,7 @@
+// 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 -ivfsoverlay %t.yaml -I %t -include "not_real.h" -fsyntax-only %s
+// REQUIRES: shell
+
+void foo() {
+ bar();
+}