aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/auto-module-import.c
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-12-06 17:15:11 +0000
committerDouglas Gregor <dgregor@apple.com>2011-12-06 17:15:11 +0000
commit8075ce62f7860224d7f3f9ddba38201ad89e2cbc (patch)
tree5854ce169c7c39eb82a4fda63da9a603f798c130 /test/Modules/auto-module-import.c
parentdd023bc4d4cc4013ae7fee49fa850b3181293797 (diff)
When building the main file to parse given a module map, don't skip
explicit submodules or umbrella headers from submodules. Instead, build the entire module at once, and let the name-hiding mechanisms hide the contents of explicit submodules at load time. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/auto-module-import.c')
-rw-r--r--test/Modules/auto-module-import.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Modules/auto-module-import.c b/test/Modules/auto-module-import.c
index cebfbc6d29..51e9ee2d03 100644
--- a/test/Modules/auto-module-import.c
+++ b/test/Modules/auto-module-import.c
@@ -17,3 +17,4 @@ Module *mod; // expected-error{{unknown type name 'Module'}}
#import <AlsoDependsOnModule/AlsoDependsOnModule.h> // expected-warning{{treating #import as an import of module 'AlsoDependsOnModule'}}
Module *mod2;
+int getDependsOther() { return depends_on_module_other; }