diff options
| author | ruki <[email protected]> | 2021-10-14 22:45:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-10-14 22:45:34 +0800 |
| commit | 767f57b2e281a62f87d4e254cd93a41af00b55a8 (patch) | |
| tree | e6e362fa1a246150a0dd1d2cc00c73b694ea6edc /tests/projects/c++/modules/submodules/src/math.math2.mpp | |
| parent | 8c0bb24c70e94888ff4e731630cb47ca1cfafc86 (diff) | |
improve c++ modules test
Diffstat (limited to 'tests/projects/c++/modules/submodules/src/math.math2.mpp')
| -rw-r--r-- | tests/projects/c++/modules/submodules/src/math.math2.mpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/submodules/src/math.math2.mpp b/tests/projects/c++/modules/submodules/src/math.math2.mpp new file mode 100644 index 000000000..f6c5381c3 --- /dev/null +++ b/tests/projects/c++/modules/submodules/src/math.math2.mpp @@ -0,0 +1,7 @@ +export module math.math2; + +export { + int mul(int fir, int sec) { + return fir * sec; + } +} |
