summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/partitions2/src/math_helpers.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2022-08-24 22:45:24 +0800
committerruki <[email protected]>2022-08-24 22:45:24 +0800
commitee55b56ef385023a290e495f6626ab7aeea2c5b8 (patch)
tree913bef27565fe91265b32b526b08877588287a42 /tests/projects/c++/modules/partitions2/src/math_helpers.cpp
parente94c67aea65b7b64246a79b7f125c11f3268371d (diff)
improve module deps
Diffstat (limited to 'tests/projects/c++/modules/partitions2/src/math_helpers.cpp')
-rw-r--r--tests/projects/c++/modules/partitions2/src/math_helpers.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/partitions2/src/math_helpers.cpp b/tests/projects/c++/modules/partitions2/src/math_helpers.cpp
new file mode 100644
index 000000000..9d2eaaa27
--- /dev/null
+++ b/tests/projects/c++/modules/partitions2/src/math_helpers.cpp
@@ -0,0 +1,7 @@
+module math:details; // math:details implementation partition
+
+double someHelperFunction(double a)
+{
+ // Implementation omitted...
+ return 42;
+}