]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/VFS/vfsroot-with-overlay.c
Vendor import of clang trunk r351319 (just before the release_80 branch
[FreeBSD/FreeBSD.git] / test / VFS / vfsroot-with-overlay.c
1 // REQUIRES: shell
2 // RUN: rm -rf %t
3 // RUN: mkdir -p %t
4 // RUN: sed -e "s:TEST_DIR:%S:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsroot.yaml > %t.yaml
5 // 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
6 // 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
8 #include "not_real.h"
9
10 void foo() {
11   bar();
12 }