summaryrefslogtreecommitdiff
path: root/tests/apis/namespace/nested/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2024-12-22 22:57:52 +0800
committerruki <[email protected]>2025-01-06 18:12:52 +0800
commit32db8fc2f0f2c560ab803acd4c4394466843c0bd (patch)
treeaf0715559a42fee42530bec5786e32b1f78601ca /tests/apis/namespace/nested/src/main.cpp
parent904e9410660956c149f9bb6dcfc631c2720ac32a (diff)
add nested namespace tests
Diffstat (limited to 'tests/apis/namespace/nested/src/main.cpp')
-rw-r--r--tests/apis/namespace/nested/src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/apis/namespace/nested/src/main.cpp b/tests/apis/namespace/nested/src/main.cpp
new file mode 100644
index 000000000..4cf7b5e62
--- /dev/null
+++ b/tests/apis/namespace/nested/src/main.cpp
@@ -0,0 +1,9 @@
+#include "foo.h"
+#include "bar.h"
+#include <iostream>
+
+int main(int argc, char** argv) {
+ std::cout << "add(1, 2) = " << add(1, 2) << std::endl;
+ std::cout << "sub(2, 1) = " << sub(2, 1) << std::endl;
+ return 0;
+}