diff options
| author | Ângelo Andrade Cirino <[email protected]> | 2021-07-15 10:49:02 -0300 |
|---|---|---|
| committer | Ângelo Andrade Cirino <[email protected]> | 2021-07-15 10:49:02 -0300 |
| commit | c1b1b841353e32d2df356b8765d1189bef3d2f11 (patch) | |
| tree | f353fb9bfa958022694d1cb66445b8d5a8969a48 /tests/projects/c++/modules/inline_and_template/src | |
| parent | 2e3cad4e9c01e65f9c5da4b32be05ff4754f497b (diff) | |
Additional changes to modules support and corrected the tests
Diffstat (limited to 'tests/projects/c++/modules/inline_and_template/src')
| -rw-r--r-- | tests/projects/c++/modules/inline_and_template/src/hello.mpp | 4 | ||||
| -rw-r--r-- | tests/projects/c++/modules/inline_and_template/src/say.mpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/projects/c++/modules/inline_and_template/src/hello.mpp b/tests/projects/c++/modules/inline_and_template/src/hello.mpp index 1796f0b11..c36d54783 100644 --- a/tests/projects/c++/modules/inline_and_template/src/hello.mpp +++ b/tests/projects/c++/modules/inline_and_template/src/hello.mpp @@ -1,7 +1,7 @@ -// module; -#include <cstdio> export module hello; +#include <cstdio> + export namespace hello { inline void say_hello() { std::printf("hello world!\n"); diff --git a/tests/projects/c++/modules/inline_and_template/src/say.mpp b/tests/projects/c++/modules/inline_and_template/src/say.mpp index d09e14d28..b4d05a5f4 100644 --- a/tests/projects/c++/modules/inline_and_template/src/say.mpp +++ b/tests/projects/c++/modules/inline_and_template/src/say.mpp @@ -1,7 +1,7 @@ -// module; -#include <cstdio> export module say; +#include <cstdio> + export class say { public: template <int N> |
