]> granicus.if.org Git - clang/blob - test/VFS/umbrella-mismatch.m
Don't try to rebuild modules on umbrella header mismatch
[clang] / test / VFS / umbrella-mismatch.m
1 // RUN: rm -rf %t
2 // RUN: sed -e "s;INPUT_DIR;%/S/Inputs;g" -e "s;OUT_DIR;%/S/Inputs;g" %S/Inputs/vfsoverlay.yaml > %t.yaml
3
4 // RUN: %clang_cc1 -Werror -fmodules -fmodules-cache-path=%t -ivfsoverlay %t.yaml -F %S/Inputs -fsyntax-only %s -verify
5 // RUN: %clang_cc1 -Werror -fmodules -fmodules-cache-path=%t -F %S/Inputs -fsyntax-only %s -verify
6 // expected-no-diagnostics
7 @import UsesFoo;