You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
474 B

// 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