summaryrefslogtreecommitdiff
path: root/tests/apis/namespace/option/src/foo.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-07 00:50:41 +0800
committerruki <[email protected]>2025-01-07 00:50:41 +0800
commit61812aa80ba743e735368a52aec1c4c5bc4a7f5e (patch)
treeb4382b28aad29267fdad55924e1e567076325d24 /tests/apis/namespace/option/src/foo.cpp
parentae8a596c609e01b21caa5825f3fd2eec0bdb7507 (diff)
support for namespace options
Diffstat (limited to 'tests/apis/namespace/option/src/foo.cpp')
-rw-r--r--tests/apis/namespace/option/src/foo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/apis/namespace/option/src/foo.cpp b/tests/apis/namespace/option/src/foo.cpp
new file mode 100644
index 000000000..1a1fb3425
--- /dev/null
+++ b/tests/apis/namespace/option/src/foo.cpp
@@ -0,0 +1,5 @@
+#include "foo.h"
+
+int add(int a, int b) {
+ return a + b;
+}