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 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'}} 10