16 lines · cpp
1// RUN: split-file %s %t2 3// RUN: %clang_cc1 -I%t -emit-module -o %t/a.pcm -fmodules %t/module.modulemap -fno-implicit-modules -fmodule-name=a -x c++-header -fms-compatibility4// RUN: %clang_cc1 -I%t -emit-module -o %t/b.pcm -fmodules %t/module.modulemap -fno-implicit-modules -fmodule-name=b -x c++-header -fms-compatibility -fmodule-file=%t/a.pcm5 6//--- module.modulemap7module a { header "a.h" }8module b { header "b.h" }9 10//--- a.h11type_info* foo;12 13//--- b.h14type_info* bar;15 16