1*67e74705SXin Li@import redecl_namespaces_left; 2*67e74705SXin Li@import redecl_namespaces_right; 3*67e74705SXin Li 4*67e74705SXin Livoid test() { 5*67e74705SXin Li A::i; 6*67e74705SXin Li A::j; 7*67e74705SXin Li A::k; // expected-error {{no member named 'k' in namespace 'A'}} 8*67e74705SXin Li} 9*67e74705SXin Li 10*67e74705SXin Li// RUN: rm -rf %t 11*67e74705SXin Li// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_left %S/Inputs/module.map 12*67e74705SXin Li// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c++ -fmodules-cache-path=%t -emit-module -fmodule-name=redecl_namespaces_right %S/Inputs/module.map 13*67e74705SXin Li// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs -w %s -verify 14