blob: 4e138cc0f338506937288f6c6b16524d512a19f5 [file] [log] [blame]
Stephen Hinesc568f1e2014-07-21 00:47:37 -07001// RUN: rm -rf %t
2// RUN: mkdir -p %t/Incomplete.framework/Headers
3// RUN: echo '// IncompleteReal.h' > %t/Incomplete.framework/Headers/IncompleteReal.h
4// RUN: sed -e "s:INPUT_DIR:%S/Inputs:g" -e "s:OUT_DIR:%t:g" %S/Inputs/vfsoverlay.yaml > %t.yaml
5// RUN: not %clang_cc1 -Werror -fmodules -fmodules-cache-path=%t \
6// RUN: -ivfsoverlay %t.yaml -F %t -fsyntax-only %s 2>&1 | FileCheck %s
7// REQUIRES: shell
8
9@import Incomplete;
10// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteVFS.h
11// CHECK: umbrella header for module 'Incomplete' {{.*}}IncompleteReal.h
12// CHECK: could not build module 'Incomplete'