1 | @import redeclarations_left; |
2 | @import redeclarations_right; |
3 | |
4 | @interface MyObject : NSObject |
5 | @end |
6 | |
7 | // RUN: rm -rf %t |
8 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map |
9 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map |
10 | // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify |
11 | // expected-no-diagnostics |
12 | |
13 | |