blob: 8181ae863de9eebd8f2ba7a371645b03cac0dfcd [file] [log] [blame]
Douglas Gregorf4e76b82013-05-20 13:49:41 +00001@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 Langmuir6caebfd2014-11-05 16:43:18 +00005// 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'}}