• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// 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 -fimplicit-module-maps -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'
13