diff options
author | Hamza Sood <hamza_sood@me.com> | 2017-11-21 09:42:42 +0000 |
---|---|---|
committer | Hamza Sood <hamza_sood@me.com> | 2017-11-21 09:42:42 +0000 |
commit | adcd5e304127e6e9b8c90d6b45cdac63077633da (patch) | |
tree | a52c110c2e3ddeb17a0742d5a973ce2119227cad /test/SemaCXX/modules-ts.cppm | |
parent | 08e4943d2e28243ec44f9b92882272aa3d69a53b (diff) | |
download | clang-adcd5e304127e6e9b8c90d6b45cdac63077633da.tar.gz |
[Modules TS] Added module re-export support.
This implements [dcl.modules.export] from the C++ Modules TS, which lets a module re-export another module with the "export import" syntax.
Differential Revision: https://reviews.llvm.org/D40270
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@318744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/modules-ts.cppm')
-rw-r--r-- | test/SemaCXX/modules-ts.cppm | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/SemaCXX/modules-ts.cppm b/test/SemaCXX/modules-ts.cppm index f64a4c0ab4..c07ee82e31 100644 --- a/test/SemaCXX/modules-ts.cppm +++ b/test/SemaCXX/modules-ts.cppm @@ -52,10 +52,6 @@ export {} // expected-error {{export declaration cannot be empty}} export { ; } export { static_assert(true); } -// FIXME: These diagnostics are not very good. -export import foo; // expected-error {{expected unqualified-id}} -export { import foo; } // expected-error {{expected unqualified-id}} - int use_b = b; int use_n = n; // FIXME: this should not be visible, because it is not exported |