1*67e74705SXin Li@import redeclarations_left; 2*67e74705SXin Li@import weird_objc; 3*67e74705SXin Li 4*67e74705SXin Liint test(id x) { 5*67e74705SXin Li return x->wibble; 6*67e74705SXin Li} 7*67e74705SXin Li 8*67e74705SXin Li// RUN: rm -rf %t 9*67e74705SXin Li// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map 10*67e74705SXin Li// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=weird_objc %S/Inputs/module.map 11*67e74705SXin Li// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify 12*67e74705SXin Li// expected-no-diagnostics 13*67e74705SXin Li 14