// RUN: rm -rf %t
// RUN: split-file %s %t
// RUN: %clang_cc1 -Wobjc-multiple-method-names -fsyntax-only -fmodules-cache-path=%t/modules.cache -fmodules -fimplicit-module-maps -F %t/Frameworks %t/test.m -verify
// Verify we are handling methods from transitive modules, not just from immediate ones.
//--- Frameworks/Indirect.framework/Headers/Indirect.h
//--- Frameworks/Indirect.framework/Modules/module.modulemap
framework module Indirect
//--- Frameworks/Immediate.framework/Headers/Immediate.h
//--- Frameworks/Immediate.framework/Modules/module.modulemap
framework module Immediate
//--- test.m
void