summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/culling2/src
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-07-21 18:49:22 +0200
committerArthur LAURENT <[email protected]>2024-07-21 18:49:22 +0200
commit0314af9533bab0d687bc31a2c2cc7c97416fe814 (patch)
tree3e1b8ee51bf75ca18797778059f77de51a75f4a9 /tests/projects/c++/modules/culling2/src
parente5ba7a1d14ef6f8afa2491b4dc0131169aaa4a76 (diff)
add a fileconfig entry to disable module culling
Diffstat (limited to 'tests/projects/c++/modules/culling2/src')
-rw-r--r--tests/projects/c++/modules/culling2/src/hello.mpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/culling2/src/hello.mpp b/tests/projects/c++/modules/culling2/src/hello.mpp
new file mode 100644
index 000000000..124bd72bc
--- /dev/null
+++ b/tests/projects/c++/modules/culling2/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);
+ }
+}