mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-27 15:28:53 -04:00

In r298391 we fixed the umbrella framework model to work when submodules named "Private" are used. This complements the work by allowing the umbrella framework model to work in general. rdar://problem/31790067 llvm-svn: 302491
14 lines
474 B
Objective-C
14 lines
474 B
Objective-C
// RUN: rm -rf %t.cache
|
|
// RUN: %clang_cc1 -fmodules -fsyntax-only -F%S/Inputs -fimplicit-module-maps \
|
|
// RUN: -fmodules-cache-path=%t.cache -Wno-private-module -DBUILD_PUBLIC -verify %s
|
|
// RUN: rm -rf %t.cache
|
|
// RUN: %clang_cc1 -fmodules -fsyntax-only -F%S/Inputs -fimplicit-module-maps \
|
|
// RUN: -fmodules-cache-path=%t.cache -Wno-private-module -verify %s
|
|
//expected-no-diagnostics
|
|
|
|
#ifdef BUILD_PUBLIC
|
|
#import "Main/Main.h"
|
|
#else
|
|
#import "MainA/MainPriv.h"
|
|
#endif
|