summaryrefslogtreecommitdiff
path: root/clang/test/Modules/redeclarations.m
blob: 3f3e6954cc2ca33b006be9fc3f225d93ac605732 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
@__experimental_modules_import redeclarations_left;
@__experimental_modules_import redeclarations_right;

@interface MyObject : NSObject
@end

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