brintos

brintos / llvm-project-archived public Read only

0
0
Text · 574 B · dacc84c Raw
13 lines · plain
1@import redeclarations_left;2@import redeclarations_right;3 4@interface MyObject : NSObject5@end6 7// RUN: rm -rf %t8// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.modulemap9// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.modulemap10// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify11// expected-no-diagnostics12 13