From d4cbbbb952700a31d17f580a0376b4793de45d7a Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 6 Jan 2025 22:51:28 +0800 Subject: add root tests --- tests/apis/namespace/root/src/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/apis/namespace/root/src/main.cpp (limited to 'tests/apis/namespace/root/src/main.cpp') diff --git a/tests/apis/namespace/root/src/main.cpp b/tests/apis/namespace/root/src/main.cpp new file mode 100644 index 000000000..4cf7b5e62 --- /dev/null +++ b/tests/apis/namespace/root/src/main.cpp @@ -0,0 +1,9 @@ +#include "foo.h" +#include "bar.h" +#include + +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; +} -- cgit v1.3.1