diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-11-11 22:18:48 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-11-11 22:18:48 +0000 |
commit | 65f3b5e99009f49d51eb00a859dbd2c2ee660718 (patch) | |
tree | bfe0e47aa7bbb690bd96e44adb23a058e196fd07 /test/Modules/normal-module-map.cpp | |
parent | 8b6d3deb5af464e1afbbeccdec369c5d4252b1a0 (diff) |
Wire up the mapping from header files mentioned in module maps over to
the corresponding (top-level) modules. This isn't actually useful yet,
because we don't yet have a way to build modules out of module maps.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@144410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/normal-module-map.cpp')
-rw-r--r-- | test/Modules/normal-module-map.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Modules/normal-module-map.cpp b/test/Modules/normal-module-map.cpp index 2935c8baa9..b6f584d33c 100644 --- a/test/Modules/normal-module-map.cpp +++ b/test/Modules/normal-module-map.cpp @@ -1,7 +1,9 @@ // RUN: rm -rf %t -// RUN: %clang_cc1 -x objective-c -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/normal-module-map -verify %s +// RUN: %clang_cc1 -x objective-c -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/normal-module-map %s -verify -#include "a1.h" +// FIXME: The expected error here is temporary, since we don't yet have the +// logic to build a module from a module map. +#include "a1.h" // expected-error{{module 'libA' not found}} #include "b1.h" #include "nested/nested2.h" |