diff options
Diffstat (limited to 'test/Modules/redeclarations.m')
-rw-r--r-- | test/Modules/redeclarations.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/Modules/redeclarations.m b/test/Modules/redeclarations.m index 221e154..f210f37 100644 --- a/test/Modules/redeclarations.m +++ b/test/Modules/redeclarations.m @@ -1,12 +1,12 @@ -@__experimental_modules_import redeclarations_left; -@__experimental_modules_import redeclarations_right; +@import redeclarations_left; +@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 +// 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 %s -verify // expected-no-diagnostics |