14 lines · plain
1// RUN: rm -rf %t2// RUN: not %clang_cc1 -x objective-c -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/submodules %s 2>&1 | FileCheck %s3 4// FIXME: cannot use -verify, because the error from inside the module build has5// a different source manager than the verifier.6 7@import missing_unavailable_headers; // OK8@import missing_unavailable_headers.not_missing; // OK9// CHECK-NOT: missing_unavailable_headers10 11@import missing_headers;12// CHECK: module.modulemap:15:27: error: header 'missing.h' not found13// CHECK: could not build module 'missing_headers'14