diff options
| author | ruki <[email protected]> | 2022-11-01 23:35:02 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-11-01 23:35:02 +0800 |
| commit | 1912c580ec4f817ef40aa44dc893cbf4c1d8db8e (patch) | |
| tree | 47d5ff5309a5ed549c9da407189a2001dd3c5575 /tests/projects/c++/modules | |
| parent | e3f66afa1533661eda37f934357623134dd0e467 (diff) | |
| parent | 3abe482e186a3851f9349d5011e93d8c529de2d8 (diff) | |
Merge pull request #3001 from xmake-io/modules
Incremental compilation support for modules #3000
Diffstat (limited to 'tests/projects/c++/modules')
| -rw-r--r-- | tests/projects/c++/modules/user_headerunit/src/hello.mpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/projects/c++/modules/user_headerunit/src/hello.mpp b/tests/projects/c++/modules/user_headerunit/src/hello.mpp index 5b2f434ad..f2e4022f7 100644 --- a/tests/projects/c++/modules/user_headerunit/src/hello.mpp +++ b/tests/projects/c++/modules/user_headerunit/src/hello.mpp @@ -1,10 +1,11 @@ module; #include <cstdio> +import "header.hpp"; export module hello; export namespace hello { void say(const char *arg) { - printf("%s\n", arg); + printf("%s: %s\n", FOO, arg); } } |
