xref: /llvm-project/clang/test/VFS/vfsroot-module.m (revision 738b5c9639b4323f75b03e21494bef13d9adfa86)
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: %clang_cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/cache -ivfsoverlay %t.yaml -F %S/Inputs -fsyntax-only /tests/vfsroot-module.m
5
6// Test that a file missing from the VFS root is not found, even if it is
7// discoverable through the real file system at location that is a part of
8// the framework.
9@import Broken;
10