diff options
| author | Arthur LAURENT <[email protected]> | 2024-07-21 16:48:40 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-07-21 16:48:40 +0200 |
| commit | e5ba7a1d14ef6f8afa2491b4dc0131169aaa4a76 (patch) | |
| tree | ef2bdc37b3522e626aefaa296f60493eba81a9a7 /tests/projects/c++/modules/culling/src | |
| parent | 2412ed94e70b00b0c2f3bd8c4553828efd458b1b (diff) | |
add a policy to disable module culling
Diffstat (limited to 'tests/projects/c++/modules/culling/src')
| -rw-r--r-- | tests/projects/c++/modules/culling/src/hello.mpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/culling/src/hello.mpp b/tests/projects/c++/modules/culling/src/hello.mpp new file mode 100644 index 000000000..124bd72bc --- /dev/null +++ b/tests/projects/c++/modules/culling/src/hello.mpp @@ -0,0 +1,10 @@ +module; +#include <cstdio> + +export module hello; + +export namespace hello { + void say(const char* str) { + printf("%s\n", str); + } +} |
