36 lines · plain
1// RUN: rm -rf %t2// RUN: cd %S3// RUN: %clang_cc1 -fmodules -x c++ -std=c++11 -fmodules-cache-path=%t \4// RUN: -I%S/Inputs/private3 -emit-module -fmodule-name=A -o %t/m.pcm %s5// RUN: %clang_cc1 -fmodules -x c++ -std=c++11 -fmodules-cache-path=%t \6// RUN: -I%S/Inputs/private3 -emit-module -fmodule-name=B -o %t/m.pcm %s7// RUN: %clang_cc1 -fmodules -x c++ -std=c++11 -fmodules-cache-path=%t \8// RUN: -I%S/Inputs/private3 -emit-module -fmodule-name=C -o %t/m.pcm %s9// RUN: %clang_cc1 -fmodules -x c++ -std=c++11 -fmodules-cache-path=%t \10// RUN: -I%S/Inputs/private3 -emit-module -fmodule-name=D -o %t/m.pcm %s11 12module A {13 header "Inputs/private3/public.h"14 private header "Inputs/private3/private.h"15}16module B {17 header "Inputs/private3/public.h"18 module "private.h" {19 private header "Inputs/private3/private.h"20 }21}22module C {23 module "public.h" {24 header "Inputs/private3/public.h"25 }26 private header "Inputs/private3/private.h"27}28module D {29 module "public.h" {30 header "Inputs/private3/public.h"31 }32 module "private.h" {33 private header "Inputs/private3/private.h"34 }35}36