diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-03-01 22:07:04 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-03-01 22:07:04 +0000 |
commit | 32ad2ee2618745ce3da51c2ae066ed5f21157c07 (patch) | |
tree | 75ce3669bcdce6d2e76de48f0c88bb48e31d2e22 /test/Modules/normal-module-map.cpp | |
parent | b3d7275c1a4a9f676af850cd661b56c4ad7ef5c9 (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/normal-module-map.cpp')
-rw-r--r-- | test/Modules/normal-module-map.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Modules/normal-module-map.cpp b/test/Modules/normal-module-map.cpp index 2858dabae1..7cd448235d 100644 --- a/test/Modules/normal-module-map.cpp +++ b/test/Modules/normal-module-map.cpp @@ -8,7 +8,7 @@ int getUmbrella() { return umbrella + umbrella_sub; } -@import Umbrella2; +@__experimental_modules_import Umbrella2; #include "a1.h" #include "b1.h" @@ -18,7 +18,7 @@ int test() { return a1 + b1 + nested2; } -@import nested_umbrella.a; +@__experimental_modules_import nested_umbrella.a; int testNestedUmbrellaA() { return nested_umbrella_a; @@ -28,7 +28,7 @@ int testNestedUmbrellaBFail() { return nested_umbrella_b; // expected-error{{use of undeclared identifier 'nested_umbrella_b'; did you mean 'nested_umbrella_a'?}} } -@import nested_umbrella.b; +@__experimental_modules_import nested_umbrella.b; int testNestedUmbrellaB() { return nested_umbrella_b; |