1*f4a2713aSLionel Sambuc // RUN: rm -rf %t 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 -x objective-c -fmodules-cache-path=%t -fmodules -I %S/Inputs/private %s -verify 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc #include "common.h" 5*f4a2713aSLionel Sambuc @import libPrivate1; 6*f4a2713aSLionel Sambuc #include "private1.h" // expected-error {{use of private header from outside its module}} 7*f4a2713aSLionel Sambuc #include "public2.h" 8*f4a2713aSLionel Sambuc #include "private2.h" // expected-error {{use of private header from outside its module}} 9*f4a2713aSLionel Sambuc 10*f4a2713aSLionel Sambuc struct use_this1 client_variable1; 11*f4a2713aSLionel Sambuc struct use_this2 client_variable2; 12*f4a2713aSLionel Sambuc struct mitts_off1 client_variable3; 13*f4a2713aSLionel Sambuc struct mitts_off2 client_variable4; 14