diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-12-11 22:11:52 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-12-11 22:11:52 +0000 |
commit | 1b257afbae854c6817f26b7d61c4fed8ff7aebad (patch) | |
tree | b55dde41e149b05234a21023307864c49b380144 /test/Modules/wildcard-submodule-exports.cpp | |
parent | bd5da3ca593fbf354fd19c2894eee50694c96788 (diff) |
Use @import rather than @__experimental_modules_import, since the
latter is rather a mess to type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169919 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/wildcard-submodule-exports.cpp')
-rw-r--r-- | test/Modules/wildcard-submodule-exports.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Modules/wildcard-submodule-exports.cpp b/test/Modules/wildcard-submodule-exports.cpp index 6b4f02c6f2..00d9571651 100644 --- a/test/Modules/wildcard-submodule-exports.cpp +++ b/test/Modules/wildcard-submodule-exports.cpp @@ -2,7 +2,7 @@ // RUN: %clang_cc1 -x objective-c++ -fmodule-cache-path %t -fmodules -I %S/Inputs/wildcard-submodule-exports %s -verify // FIXME: When we have a syntax for modules in C++, use that. -@__experimental_modules_import C.One; +@import C.One; void test_C_One() { int *A1_ptr = A1; @@ -10,7 +10,7 @@ void test_C_One() { (void)B1; // expected-error{{use of undeclared identifier 'B1'}} } -@__experimental_modules_import C.Two; +@import C.Two; void test_C_Two() { unsigned int *A2_ptr = A2; @@ -18,7 +18,7 @@ void test_C_Two() { unsigned long *C2_ptr = C2; } -@__experimental_modules_import B.One; +@import B.One; void test_B_One() { short *B1_ptr = B1; |