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.math1.mpp | |
| parent | 8c0bb24c70e94888ff4e731630cb47ca1cfafc86 (diff) | |
improve c++ modules test
Diffstat (limited to 'tests/projects/c++/modules/submodules/src/math.math1.mpp')
| -rw-r--r-- | tests/projects/c++/modules/submodules/src/math.math1.mpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/submodules/src/math.math1.mpp b/tests/projects/c++/modules/submodules/src/math.math1.mpp new file mode 100644 index 000000000..3e06bf426 --- /dev/null +++ b/tests/projects/c++/modules/submodules/src/math.math1.mpp @@ -0,0 +1,5 @@ +export module math.math1; + +export int add(int fir, int sec) { + return fir + sec; +} |
