Douglas Gregor | f4e76b8 | 2013-05-20 13:49:41 +0000 | [diff] [blame] | 1 | @import incomplete_mod; |
| 2 | |
| 3 | // RUN: rm -rf %t |
| 4 | // RUN: %clang_cc1 -fmodules-cache-path=%t -Wincomplete-module -fmodules -I %S/Inputs %s 2>&1 | FileCheck %s |
Ben Langmuir | 6caebfd | 2014-11-05 16:43:18 +0000 | [diff] [blame] | 5 | // CHECK: warning: include of non-modular header inside module 'incomplete_mod' |
| 6 | |
| 7 | // RUN: rm -rf %t |
| 8 | // RUN: not %clang_cc1 -fmodules-cache-path=%t -fmodules-strict-decluse -fmodules -I %S/Inputs %s 2>&1 | FileCheck %s -check-prefix=DECLUSE |
| 9 | // DECLUSE: error: module incomplete_mod does not depend on a module exporting {{'.*incomplete_mod_missing.h'}} |