[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / VFS / vfsroot-with-overlay.c
blob1a44c523aaac230ab634518d82b3cab41241cbbd
1 // RUN: rm -rf %t
2 // RUN: mkdir -p %t
3 // RUN: sed -e "s@TEST_DIR@%{/S:regex_replacement}@g" -e "s@OUT_DIR@%{/t:regex_replacement}@g" %S/Inputs/vfsroot.yaml > %t.yaml
4 // RUN: sed -e "s@INPUT_DIR@/indirect-vfs-root-files@g" -e "s@OUT_DIR@/overlay-dir@g" %S/Inputs/vfsoverlay.yaml > %t/vfsoverlay.yaml
5 // RUN: %clang_cc1 -Werror -ivfsoverlay %t.yaml -ivfsoverlay /direct-vfs-root-files/vfsoverlay.yaml -I /overlay-dir -fsyntax-only /tests/vfsroot-with-overlay.c
7 #include "not_real.h"
9 void foo(void) {
10 bar();