1// RUN: rm -rf %t 2// RUN: split-file %s %t 3 4// This test checks that redefinitions of frameworks are ignored. 5 6//--- include/module.modulemap 7module first { header "first.h" } 8module FW {} 9//--- include/first.h 10 11//--- frameworks/FW.framework/Modules/module.modulemap 12framework module FW { header "FW.h" } 13//--- frameworks/FW.framework/Headers/FW.h 14 15//--- tu.c 16#import "first.h" // expected-remark {{importing module 'first'}} 17#import <FW/FW.h> 18 19// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -fimplicit-module-maps \ 20// RUN: -I %t/include -F %t/frameworks -fsyntax-only %t/tu.c -Rmodule-import -verify 21