summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/header-import.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/header-import.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/header-import.m')
-rw-r--r--clang/test/Modules/header-import.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/header-import.m b/clang/test/Modules/header-import.m
index 610a20f5493..960eecea221 100644
--- a/clang/test/Modules/header-import.m
+++ b/clang/test/Modules/header-import.m
@@ -1,5 +1,5 @@
// RUN: rm -rf %t
-// RUN: %clang_cc1 -fmodule-cache-path %t -F %S/Inputs -I %S/Inputs -verify %s
+// RUN: %clang_cc1 -fmodules -fmodule-cache-path %t -F %S/Inputs -I %S/Inputs -verify %s
#import "point.h"
@import Module;
OpenPOWER on IntegriCloud