aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/module-private.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-03-01 22:07:04 +0000
committerTed Kremenek <kremenek@apple.com>2012-03-01 22:07:04 +0000
commit32ad2ee2618745ce3da51c2ae066ed5f21157c07 (patch)
tree75ce3669bcdce6d2e76de48f0c88bb48e31d2e22 /test/Modules/module-private.cpp
parentb3d7275c1a4a9f676af850cd661b56c4ad7ef5c9 (diff)
Change @import to @__experimental_modules_import. We are not ready to commit to a particular syntax for modules,
and don't have time to push it forward in the near future. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151841 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/module-private.cpp')
-rw-r--r--test/Modules/module-private.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Modules/module-private.cpp b/test/Modules/module-private.cpp
index e972ce2891..246dcaf80e 100644
--- a/test/Modules/module-private.cpp
+++ b/test/Modules/module-private.cpp
@@ -4,8 +4,8 @@
// RUN: %clang_cc1 -fmodules -x objective-c++ -fmodule-cache-path %t %s -verify
// FIXME: When we have a syntax for modules in C++, use that.
-@import module_private_left;
-@import module_private_right;
+@__experimental_modules_import module_private_left;
+@__experimental_modules_import module_private_right;
void test() {
int &ir = f0(1.0); // okay: f0() from 'right' is not visible