1*f3f84616SRichard Smith // RUN: rm -rf %t 2*f3f84616SRichard Smith // RUN: %clang_cc1 -fmodules -fmodules-strict-decluse -I%S/Inputs/preprocess-decluse \ 3*f3f84616SRichard Smith // RUN: -fmodule-name=B -emit-module -o %t/b.pcm \ 4*f3f84616SRichard Smith // RUN: -fmodule-map-file=%S/Inputs/preprocess-decluse/a.modulemap \ 5*f3f84616SRichard Smith // RUN: -x c++-module-map %S/Inputs/preprocess-decluse/b.modulemap 6*f3f84616SRichard Smith // RUN: %clang_cc1 -fmodules -fmodules-strict-decluse -I%S/Inputs/preprocess-decluse \ 7*f3f84616SRichard Smith // RUN: -fmodule-map-file=%S/Inputs/preprocess-decluse/main.modulemap \ 8*f3f84616SRichard Smith // RUN: -fmodule-file=%t/b.pcm -fmodule-name=Main %s -verify 9*f3f84616SRichard Smith // RUN: %clang_cc1 -fmodules -fmodules-strict-decluse -I%S/Inputs/preprocess-decluse \ 10*f3f84616SRichard Smith // RUN: -fmodule-map-file=%S/Inputs/preprocess-decluse/main.modulemap \ 11*f3f84616SRichard Smith // RUN: -fmodule-file=%t/b.pcm -fmodule-name=Main %s \ 12*f3f84616SRichard Smith // RUN: -E -frewrite-imports -o %t/rewrite.ii 13*f3f84616SRichard Smith // RUN: %clang_cc1 -fmodules -fmodules-strict-decluse -I%S/Inputs/preprocess-decluse \ 14*f3f84616SRichard Smith // RUN: -fmodule-map-file=%S/Inputs/preprocess-decluse/main.modulemap \ 15*f3f84616SRichard Smith // RUN: -fmodule-name=Main %t/rewrite.ii -verify 16*f3f84616SRichard Smith 17*f3f84616SRichard Smith // expected-no-diagnostics 18*f3f84616SRichard Smith #include "b.h" 19