2015-05-07 06:31:13 +08:00
|
|
|
// RUN: rm -rf %t.modules
|
|
|
|
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t.modules -fmodule-map-file=%s -I%S -include "Inputs/empty.h" /dev/null
|
|
|
|
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t.modules -fmodule-map-file=%s -I%S -include "Inputs/dummy.h" /dev/null
|
2015-03-10 08:19:04 +08:00
|
|
|
module A {
|
2015-03-10 07:46:50 +08:00
|
|
|
header "Inputs/empty.h"
|
|
|
|
private header "Inputs/empty.h"
|
|
|
|
}
|
2015-03-10 08:19:04 +08:00
|
|
|
module B {
|
|
|
|
private header "Inputs/dummy.h"
|
|
|
|
header "Inputs/dummy.h"
|
|
|
|
}
|