You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
670 B
12 lines
670 B
// RUN: rm -rf %t
|
|
// RUN: mkdir -p %t/Incomplete.framework/Headers
|
|
// RUN: echo '// IncompleteReal.h' > %t/Incomplete.framework/Headers/IncompleteReal.h
|
|
// RUN: sed -e "s@INPUT_DIR@%{/S:regex_replacement}/Inputs@g" -e "s@OUT_DIR@%{/t:regex_replacement}@g" %S/Inputs/vfsoverlay.yaml > %t.yaml
|
|
// RUN: not %clang_cc1 -Werror -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
|
|
// RUN: -ivfsoverlay %t.yaml -F %t -fsyntax-only %s 2>&1 | FileCheck %s
|
|
|
|
@import Incomplete;
|
|
// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteVFS.h
|
|
// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteReal.h
|
|
// CHECK: could not build module 'Incomplete'
|