diff options
Diffstat (limited to 'test/VFS/implicit-include.c')
-rw-r--r-- | test/VFS/implicit-include.c | 7 |
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 0000000..acf665b --- /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(); +} |