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-12 03:10:28 +08:00
|
|
|
|
2011-11-12 06:18:48 +08:00
|
|
|
// 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}}
|
2011-11-12 03:10:28 +08:00
|
|
|
#include "b1.h"
|
|
|
|
#include "nested/nested2.h"
|
|
|
|
|
|
|
|
int test() {
|
|
|
|
return a1 + b1 + nested2;
|
|
|
|
}
|