12 lines · plain
1// RUN: rm -rf %t2// RUN: mkdir -p %t/Incomplete.framework/Headers3// RUN: echo '// IncompleteReal.h' > %t/Incomplete.framework/Headers/IncompleteReal.h4// RUN: sed -e "s@INPUT_DIR@%{/S:regex_replacement}/Inputs@g" -e "s@OUT_DIR@%{/t:regex_replacement}@g" %S/Inputs/vfsoverlay.yaml > %t.yaml5// RUN: not %clang_cc1 -Werror -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \6// RUN: -ivfsoverlay %t.yaml -F %t -fsyntax-only %s 2>&1 | FileCheck %s7 8@import Incomplete;9// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteVFS.h10// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteReal.h11// CHECK: could not build module 'Incomplete'12