aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/normal-module-map.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-12 00:05:07 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-12 00:05:07 +0000
commitcf70d7873fe3098bdac72e7628f4e832d14d5143 (patch)
tree9b2b859a9268eb18e4bd3656627facccacacc502 /test/Modules/normal-module-map.cpp
parent194428cc83c8127982abd7a6a420e10f366aa7e6 (diff)
When searching for a module, speculatively load module maps to see if
the module is described in one of the module maps in a search path or in a subdirectory off the search path that has the same name as the module we're looking for. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/normal-module-map.cpp')
-rw-r--r--test/Modules/normal-module-map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Modules/normal-module-map.cpp b/test/Modules/normal-module-map.cpp
index aeb569b872..4dfa9c9a6c 100644
--- a/test/Modules/normal-module-map.cpp
+++ b/test/Modules/normal-module-map.cpp
@@ -9,6 +9,8 @@ int getUmbrella() {
return umbrella;
}
+__import_module__ Umbrella2;
+
#include "a1.h" // expected-error{{module 'libA' not found}}
#include "b1.h"
#include "nested/nested2.h"