2011-11-12 03:10:28 +08:00
|
|
|
// RUN: rm -rf %t
|
2011-11-12 06:18:48 +08:00
|
|
|
// RUN: %clang_cc1 -x objective-c -fmodule-cache-path %t -fauto-module-import -I %S/Inputs/normal-module-map %s -verify
|
2011-11-17 07:02:25 +08:00
|
|
|
#include "Umbrella/umbrella_sub.h"
|
2011-11-12 07:20:24 +08:00
|
|
|
|
|
|
|
int getUmbrella() {
|
2011-11-17 07:02:25 +08:00
|
|
|
return umbrella + umbrella_sub;
|
2011-11-12 07:20:24 +08:00
|
|
|
}
|
|
|
|
|
2011-11-12 08:05:07 +08:00
|
|
|
__import_module__ Umbrella2;
|
|
|
|
|
2011-11-17 04:05:18 +08:00
|
|
|
#include "a1.h"
|
2011-11-12 03:10:28 +08:00
|
|
|
#include "b1.h"
|
|
|
|
#include "nested/nested2.h"
|
|
|
|
|
|
|
|
int test() {
|
|
|
|
return a1 + b1 + nested2;
|
|
|
|
}
|