Daniel Jasper | ddd2dfc | 2013-09-24 09:14:14 +0000 | [diff] [blame^] | 1 | // RUN: rm -rf %t |
2 | // RUN: %clang_cc1 -x objective-c++ -fmodules-cache-path=%t -fmodules -fmodules-decluse -fmodule-name=G -I %S/Inputs/declare-use %s -verify | ||||
3 | |||||
4 | #include "g.h" | ||||
5 | #include "e.h" | ||||
6 | #include "f.h" // expected-error {{use of a module not declared used}} | ||||
7 | const int g2 = g1+e+f; |