blob: 19294950d49dbf032020c3df14ba7a79ecbdb9cd [file] [log] [blame]
Douglas Gregora30cfe52011-11-11 19:10:28 +00001// RUN: rm -rf %t
Douglas Gregor65f3b5e2011-11-11 22:18:48 +00002// RUN: %clang_cc1 -x objective-c -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/normal-module-map %s -verify
Douglas Gregoradb97992011-11-16 23:02:25 +00003#include "Umbrella/umbrella_sub.h"
Douglas Gregor484535e2011-11-11 23:20:24 +00004
5int getUmbrella() {
Douglas Gregoradb97992011-11-16 23:02:25 +00006 return umbrella + umbrella_sub;
Douglas Gregor484535e2011-11-11 23:20:24 +00007}
8
Douglas Gregorcf70d782011-11-12 00:05:07 +00009__import_module__ Umbrella2;
10
Douglas Gregora081da52011-11-16 20:05:18 +000011#include "a1.h"
Douglas Gregora30cfe52011-11-11 19:10:28 +000012#include "b1.h"
13#include "nested/nested2.h"
14
15int test() {
16 return a1 + b1 + nested2;
17}