diff options
| author | ruki <[email protected]> | 2024-12-21 22:38:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-01-06 18:12:52 +0800 |
| commit | e81a234fdcb3542403e03e9db0dc2c182eb81e36 (patch) | |
| tree | 5dac8c7fddf0e646852ae18a66ad54d01bdda938 /tests/apis/namespace/basic/src/main.cpp | |
| parent | 540d496f5021b6d764c741e5fbcedd9c6f60030d (diff) | |
add namespace basic test
Diffstat (limited to 'tests/apis/namespace/basic/src/main.cpp')
| -rw-r--r-- | tests/apis/namespace/basic/src/main.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/apis/namespace/basic/src/main.cpp b/tests/apis/namespace/basic/src/main.cpp new file mode 100644 index 000000000..4cf7b5e62 --- /dev/null +++ b/tests/apis/namespace/basic/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; +} |
