| 1 |
// RUN: rm -rf %t |
| 2 |
// RUN: cd %S |
| 3 |
// 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 %s |
| 5 |
// 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 %s |
| 7 |
// 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 %s |
| 9 |
// 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 %s |
| 11 |
|
| 12 |
module A { |
| 13 |
header "Inputs/private3/public.h" |
| 14 |
private header "Inputs/private3/private.h" |
| 15 |
} |
| 16 |
module B { |
| 17 |
header "Inputs/private3/public.h" |
| 18 |
module "private.h" { |
| 19 |
private header "Inputs/private3/private.h" |
| 20 |
} |
| 21 |
} |
| 22 |
module C { |
| 23 |
module "public.h" { |
| 24 |
header "Inputs/private3/public.h" |
| 25 |
} |
| 26 |
private header "Inputs/private3/private.h" |
| 27 |
} |
| 28 |
module 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 |
} |