aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/normal-module-map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/normal-module-map.cpp')
-rw-r--r--test/Modules/normal-module-map.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Modules/normal-module-map.cpp b/test/Modules/normal-module-map.cpp
index b6f584d33c..aeb569b872 100644
--- a/test/Modules/normal-module-map.cpp
+++ b/test/Modules/normal-module-map.cpp
@@ -3,6 +3,12 @@
// FIXME: The expected error here is temporary, since we don't yet have the
// logic to build a module from a module map.
+#include "Umbrella/Umbrella.h"
+
+int getUmbrella() {
+ return umbrella;
+}
+
#include "a1.h" // expected-error{{module 'libA' not found}}
#include "b1.h"
#include "nested/nested2.h"