summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/find-privateheaders.m
blob: 5720a73f9be87552b3d41cf0a6c2a0d5b053276f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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
OpenPOWER on IntegriCloud