diff options
| author | Arthur LAURENT <[email protected]> | 2024-01-31 13:02:11 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-01-31 13:45:43 +0100 |
| commit | 89f151ab335ad2aa1e5d1cc900f1e3837caa6437 (patch) | |
| tree | 51400158d69a54fafac973d4a7b8ca40ff540265 /tests/projects/c++/modules/aliased_headerunit/src/foo | |
| parent | f3ec9cc0f7cf6d0b48dce8a69c5f6103b9dd6df3 (diff) | |
add a test for aliased headerunits
Diffstat (limited to 'tests/projects/c++/modules/aliased_headerunit/src/foo')
| -rw-r--r-- | tests/projects/c++/modules/aliased_headerunit/src/foo/hello.mpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/aliased_headerunit/src/foo/hello.mpp b/tests/projects/c++/modules/aliased_headerunit/src/foo/hello.mpp new file mode 100644 index 000000000..0a8de6291 --- /dev/null +++ b/tests/projects/c++/modules/aliased_headerunit/src/foo/hello.mpp @@ -0,0 +1,12 @@ +module; +#include <cstdio> + +export module hello; + +import "../header.hpp"; + +export namespace hello { + void say(const char *arg) { + printf("%s: %s\n", FOO, arg); + } +} |
