26 lines · plain
1// RUN: rm -rf %t2// RUN: split-file %s %t3 4//--- frameworks/A.framework/Modules/module.modulemap5framework module A {6 umbrella header "A.h"7 exclude header "Excluded.h"8 9 module Excluded {10 header "Excluded.h"11 }12}13//--- frameworks/A.framework/Headers/A.h14#import <A/Sub.h>15//--- frameworks/A.framework/Headers/Sub.h16//--- frameworks/A.framework/Headers/Excluded.h17#import <A/Sub.h>18@interface I19@end20 21//--- tu.m22#import <A/Excluded.h>23 24// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache -iframework %t/frameworks -fsyntax-only %t/tu.m -verify25// expected-no-diagnostics26