You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
418 B

// 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
module A {
header "Inputs/empty.h"
private header "Inputs/empty.h"
}
module B {
private header "Inputs/dummy.h"
header "Inputs/dummy.h"
}