aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/redeclarations.m
blob: 11aca7597830d0f2e22bdddb719aa384a73e45c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
@import redeclarations_left;
@import redeclarations_right;

@interface MyObject : NSObject
@end

// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map
// RUN: %clang_cc1 -fmodules -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_right %S/Inputs/module.map
// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -I %S/Inputs %s -verify
// expected-no-diagnostics