2013-12-22 00:07:40 +00:00
|
|
|
// RUN: rm -rf %t
|
2014-11-24 09:15:30 +00:00
|
|
|
// RUN: %clang_cc1 -fmodule-maps -fmodules-cache-path=%t -fmodules-decluse -fmodule-name=XH -I %S/Inputs/declare-use %s -verify
|
2013-12-22 00:07:40 +00:00
|
|
|
|
|
|
|
#include "h.h"
|
|
|
|
#include "e.h"
|
2014-11-24 09:15:30 +00:00
|
|
|
#include "f.h" // expected-error {{module XH does not depend on a module exporting 'f.h'}}
|
2013-12-22 00:07:40 +00:00
|
|
|
const int h2 = h1+e+f;
|