summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/declare-use1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Modules/declare-use1.cpp')
-rw-r--r--clang/test/Modules/declare-use1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Modules/declare-use1.cpp b/clang/test/Modules/declare-use1.cpp
index 49993cf488c..5fc43360ffa 100644
--- a/clang/test/Modules/declare-use1.cpp
+++ b/clang/test/Modules/declare-use1.cpp
@@ -4,4 +4,5 @@
#include "g.h"
#include "e.h"
#include "f.h" // expected-error {{module XG does not depend on a module exporting 'f.h'}}
-const int g2 = g1+e+f;
+#include "i.h"
+const int g2 = g1 + e + f + aux_i;
OpenPOWER on IntegriCloud