diff options
Diffstat (limited to 'libcxx/modules/std/generator.cppm')
| -rw-r--r-- | libcxx/modules/std/generator.cppm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/libcxx/modules/std/generator.cppm b/libcxx/modules/std/generator.cppm new file mode 100644 index 000000000000..c67f5d012679 --- /dev/null +++ b/libcxx/modules/std/generator.cppm @@ -0,0 +1,21 @@ +// -*- C++ -*- +//===----------------------------------------------------------------------===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +module; +#if __has_include(<generator>) +# error "include this header unconditionally and uncomment the exported symbols" +# include <generator> +#endif + +export module std:generator; +export namespace std { +#if 0 + using std::generator; +#endif +} // namespace std |
