diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-04-14 14:01:31 +0000 |
commit | dbe13110f59f48b4dbb7552b3ac2935acdeece7f (patch) | |
tree | be1815eb79b42ff482a8562b13c2dcbf0c5dcbee /test/Modules/redeclarations.m | |
parent | 9da628931ebf2609493570f87824ca22402cc65f (diff) |
Vendor import of clang trunk r154661:vendor/clang/clang-trunk-r154661
Notes
Notes:
svn path=/vendor/clang/dist/; revision=234287
svn path=/vendor/clang/clang-trunk-r154661/; revision=234288; tag=vendor/clang/clang-trunk-r154661
Diffstat (limited to 'test/Modules/redeclarations.m')
-rw-r--r-- | test/Modules/redeclarations.m | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Modules/redeclarations.m b/test/Modules/redeclarations.m new file mode 100644 index 000000000000..3f3e6954cc2c --- /dev/null +++ b/test/Modules/redeclarations.m @@ -0,0 +1,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 + |