summaryrefslogtreecommitdiffstats
path: root/clang/test/VFS/vfsroot-module.m
blob: 22822cf5a5e668c0a97e8f5b9e9387e559f3149a (plain)
1
2
3
4
5
6
7
8
9
10
// REQUIRES: shell
// RUN: rm -rf %t
// RUN: mkdir -p %t
// RUN: sed -e "s:TEST_DIR:%S:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsroot.yaml > %t.yaml
// 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

// Test that a file missing from the VFS root is not found, even if it is
// discoverable through the real file system at location that is a part of
// the framework.
@import Broken;
OpenPOWER on IntegriCloud