1// RUN: rm -rf %t
2// RUN: %clang_cc1 -x objective-c++ -fmodules-cache-path=%t -fmodules -fmodule-map-file=%S/Inputs/modular_maps/modulea.map -I %S/Inputs/modular_maps %s -verify
3
4#include "common.h"
5#include "a.h"
6#include "b.h" // expected-error {{private header}}
7const int v = a + c;
8const int val = a + b + c; // expected-error {{undeclared identifier}}
9