blob: 5720a73f9be87552b3d41cf0a6c2a0d5b053276f [file] [log] [blame]
Bruno Cardoso Lopesd6e32892017-05-09 00:41:38 +00001// RUN: rm -rf %t.cache
2// RUN: %clang_cc1 -fmodules -fsyntax-only -F%S/Inputs -fimplicit-module-maps \
3// RUN: -fmodules-cache-path=%t.cache -Wno-private-module -DBUILD_PUBLIC -verify %s
4// RUN: rm -rf %t.cache
5// RUN: %clang_cc1 -fmodules -fsyntax-only -F%S/Inputs -fimplicit-module-maps \
6// RUN: -fmodules-cache-path=%t.cache -Wno-private-module -verify %s
7//expected-no-diagnostics
8
9#ifdef BUILD_PUBLIC
Bruno Cardoso Lopes08ebd612017-03-21 16:43:51 +000010#import "Main/Main.h"
Bruno Cardoso Lopesd6e32892017-05-09 00:41:38 +000011#else
12#import "MainA/MainPriv.h"
13#endif