Bruno Cardoso Lopes | d6e3289 | 2017-05-09 00:41:38 +0000 | [diff] [blame] | 1 | // 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 Lopes | 08ebd61 | 2017-03-21 16:43:51 +0000 | [diff] [blame] | 10 | #import "Main/Main.h" |
Bruno Cardoso Lopes | d6e3289 | 2017-05-09 00:41:38 +0000 | [diff] [blame] | 11 | #else |
| 12 | #import "MainA/MainPriv.h" |
| 13 | #endif |