Ben Langmuir | ec8c975 | 2014-04-18 22:07:31 +0000 | [diff] [blame] | 1 | // RUN: rm -rf %t |
Richard Smith | 47972af | 2015-06-16 00:08:24 +0000 | [diff] [blame] | 2 | // RUN: not %clang_cc1 -x objective-c -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -I %S/Inputs/submodules %s 2>&1 | FileCheck %s |
Ben Langmuir | ec8c975 | 2014-04-18 22:07:31 +0000 | [diff] [blame] | 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' |