blob: 2428e854d6edf57e5de7e1d96e1f09346938ec03 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// RUN: split-file %s %t
// 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-compatibility
// 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.pcm
//--- module.modulemap
module a { header "a.h" }
module b { header "b.h" }
//--- a.h
type_info* foo;
//--- b.h
type_info* bar;
|