2014-06-26 07:53:43 +08:00
|
|
|
// RUN: rm -rf %t
|
|
|
|
// RUN: mkdir -p %t/Incomplete.framework/Headers
|
|
|
|
// RUN: echo '// IncompleteReal.h' > %t/Incomplete.framework/Headers/IncompleteReal.h
|
2019-12-04 07:22:30 +08:00
|
|
|
// 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
|
2015-06-16 08:19:29 +08:00
|
|
|
// RUN: not %clang_cc1 -Werror -fmodules -fimplicit-module-maps -fmodules-cache-path=%t \
|
2014-06-26 07:53:43 +08:00
|
|
|
// RUN: -ivfsoverlay %t.yaml -F %t -fsyntax-only %s 2>&1 | FileCheck %s
|
2019-09-12 04:56:25 +08:00
|
|
|
|
2014-06-26 07:53:43 +08:00
|
|
|
@import Incomplete;
|
|
|
|
// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteVFS.h
|
|
|
|
// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteReal.h
|
|
|
|
// CHECK: could not build module 'Incomplete'
|