summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/lookup.m
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2012-01-03 18:24:14 +0000
committerDouglas Gregor <dgregor@apple.com>2012-01-03 18:24:14 +0000
commit0bf886d41a66a1d1c0ee4678257bf38b7e46fae2 (patch)
tree74659669ab71f21c29e7e3c476871939f813af16 /clang/test/Modules/lookup.m
parentbc26b2d162c3376dd27986cdd706e5df8a1d87d4 (diff)
downloadbcm5719-llvm-0bf886d41a66a1d1c0ee4678257bf38b7e46fae2.tar.gz
bcm5719-llvm-0bf886d41a66a1d1c0ee4678257bf38b7e46fae2.zip
Under -fmodules, accept #public <macroname> and #private <macroname>
to make a macro public (the default for headers) or private, respectively. llvm-svn: 147455
Diffstat (limited to 'clang/test/Modules/lookup.m')
-rw-r--r--clang/test/Modules/lookup.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Modules/lookup.m b/clang/test/Modules/lookup.m
index 6de7a115cd3..7ca0c23a465 100644
--- a/clang/test/Modules/lookup.m
+++ b/clang/test/Modules/lookup.m
@@ -9,10 +9,10 @@ void test(id x) {
}
// RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodule-cache-path %t -emit-module -x objective-c -fmodule-name=lookup_left_objc %S/Inputs/module.map
-// RUN: %clang_cc1 -fmodule-cache-path %t -emit-module -x objective-c -fmodule-name=lookup_right_objc %S/Inputs/module.map
-// RUN: %clang_cc1 -x objective-c -fmodule-cache-path %t -verify %s
-// RUN: %clang_cc1 -ast-print -x objective-c -fmodule-cache-path %t %s | FileCheck -check-prefix=CHECK-PRINT %s
+// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -emit-module -x objective-c -fmodule-name=lookup_left_objc %S/Inputs/module.map
+// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -emit-module -x objective-c -fmodule-name=lookup_right_objc %S/Inputs/module.map
+// RUN: %clang_cc1 -fmodules -x objective-c -fmodule-cache-path %t -verify %s
+// RUN: %clang_cc1 -fmodules -ast-print -x objective-c -fmodule-cache-path %t %s | FileCheck -check-prefix=CHECK-PRINT %s
// CHECK-PRINT: - (int) method;
// CHECK-PRINT: - (double) method
OpenPOWER on IntegriCloud