2 // RUN: split-file %s %t
4 // This test checks that redefinitions of frameworks are ignored.
6 //--- include/module.modulemap
7 module first { header "first.h" }
11 //--- frameworks/FW.framework/Modules/module.modulemap
12 framework module FW { header "FW.h" }
13 //--- frameworks/FW.framework/Headers/FW.h
16 #import "first.h" // expected-remark {{importing module 'first'}}
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