check that private headers are in a list matching the role. (We can't perform the opposite checks for non-private headers because we infer those.) llvm-svn: 231728
11 lines
328 B
Plaintext
11 lines
328 B
Plaintext
// RUN: %clang_cc1 -fmodules -fmodule-map-file=%s -I%S -include "Inputs/empty.h" /dev/null
|
|
// RUN: %clang_cc1 -fmodules -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"
|
|
}
|