From 32db8fc2f0f2c560ab803acd4c4394466843c0bd Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 22 Dec 2024 22:57:52 +0800 Subject: add nested namespace tests --- tests/apis/namespace/nested/src/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/apis/namespace/nested/src/main.cpp (limited to 'tests/apis/namespace/nested/src/main.cpp') 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 + +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