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