1// RUN: rm -rf %t
2// RUN: not %clang_cc1 -x objective-c -fmodules-cache-path=%t -fmodules -I %S/Inputs/submodules %s 2>&1 | FileCheck %s
3
4// FIXME: cannot use -verify, because the error from inside the module build has
5// a different source manager than the verifier.
6
7@import missing_unavailable_headers; // OK
8@import missing_unavailable_headers.not_missing; // OK
9// CHECK-NOT: missing_unavailable_headers
10
11@import missing_headers;
12// CHECK: module.map:15:27: error: header 'missing.h' not found
13// CHECK: could not build module 'missing_headers'
14