xref: /aosp_15_r20/external/clang/test/VFS/relative-path.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: mkdir -p %t
2*67e74705SXin Li // RUN: cd %t
3*67e74705SXin Li // RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml
4*67e74705SXin Li // RUN: %clang_cc1 -Werror -I . -ivfsoverlay %t.yaml -fsyntax-only %s
5*67e74705SXin Li // REQUIRES: shell
6*67e74705SXin Li 
7*67e74705SXin Li #include "not_real.h"
8*67e74705SXin Li 
foo()9*67e74705SXin Li void foo() {
10*67e74705SXin Li   bar();
11*67e74705SXin Li }
12