brintos

brintos / llvm-project-archived public Read only

0
0
Text · 484 B · f6ca2a8 Raw
14 lines · plain
1// RUN: rm -rf %t2// RUN: split-file %s %t3 4//--- frameworks/FW.framework/Modules/module.modulemap5framework module FW {}6//--- frameworks/FW.framework/Modules/module.private.modulemap7framework module FW_Private {}8 9//--- tu.m10@import FW_Private; // expected-error{{@import of module 'FW_Private' in implementation of 'FW'; use #import}}11 12// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t/cache -fimplicit-module-maps \13// RUN:   -fmodule-name=FW -F %t/frameworks %t/tu.m -verify14