1// RUN: rm -rf %t 2// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs/shadowed-submodule/Foo -I %S/Inputs/shadowed-submodule/A2 %s -verify 3 4@import Foo; // expected-error {{module 'A' was built in directory}} 5 // expected-note@shadowed-submodule.m:4 {{imported by module 'Foo'}} 6