1// RUN: rm -rf %t
2// RUN: %clang_cc1 -fsyntax-only -std=c++11 -fmodules -fimplicit-module-maps -I%S/Inputs/import-textual/M2 -fmodules-cache-path=%t -x objective-c++ -fmodules-local-submodule-visibility %s -verify
3
4#include "A/A.h" // expected-error {{could not build module 'M'}}
5#include "B/B.h"
6
7typedef aint xxx;
8typedef bint yyy;
9