summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/normal-module-map.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-11-16 00:09:06 +0000
committerDouglas Gregor <dgregor@apple.com>2011-11-16 00:09:06 +0000
commit2b20cb87f5b6b48ca8d32f99a0ef5472605afefd (patch)
tree2d4f1581a1685a26bdf04bb954c6b1c823c04c25 /clang/test/Modules/normal-module-map.cpp
parent653183fd5cf7ec703f62b4a87b706f35c6b31dd6 (diff)
downloadbcm5719-llvm-2b20cb87f5b6b48ca8d32f99a0ef5472605afefd.tar.gz
bcm5719-llvm-2b20cb87f5b6b48ca8d32f99a0ef5472605afefd.zip
Add support for building a module from a module map to the -cc1
interface. This is currently limited to modules with umbrella headers. llvm-svn: 144736
Diffstat (limited to 'clang/test/Modules/normal-module-map.cpp')
-rw-r--r--clang/test/Modules/normal-module-map.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/normal-module-map.cpp b/clang/test/Modules/normal-module-map.cpp
index 4dfa9c9a6c4..73cfe8b675b 100644
--- a/clang/test/Modules/normal-module-map.cpp
+++ b/clang/test/Modules/normal-module-map.cpp
@@ -1,8 +1,6 @@
// RUN: rm -rf %t
// RUN: %clang_cc1 -x objective-c -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/normal-module-map %s -verify
-// 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() {
@@ -11,6 +9,8 @@ int getUmbrella() {
__import_module__ Umbrella2;
+// 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"
OpenPOWER on IntegriCloud