Clang Project

clang_source_code/test/VFS/vfsroot-module.m
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: %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
6
7// Test that a file missing from the VFS root is not found, even if it is
8// discoverable through the real file system at location that is a part of
9// the framework.
10@import Broken;
11