forked from OSchip/llvm-project
18 lines
367 B
C++
18 lines
367 B
C++
// 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
|
|
#include "Umbrella/umbrella_sub.h"
|
|
|
|
int getUmbrella() {
|
|
return umbrella + umbrella_sub;
|
|
}
|
|
|
|
__import_module__ Umbrella2;
|
|
|
|
#include "a1.h"
|
|
#include "b1.h"
|
|
#include "nested/nested2.h"
|
|
|
|
int test() {
|
|
return a1 + b1 + nested2;
|
|
}
|