From d1fd8beee890a1beb4ef63ad9b9cd476b2e8bc5b Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Tue, 13 May 2025 20:22:03 +0200 Subject: (C++ modules support) add tests --- tests/projects/c++/modules/namespace/src/mod_impl.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/projects/c++/modules/namespace/src/mod_impl.cpp (limited to 'tests/projects/c++/modules/namespace/src/mod_impl.cpp') diff --git a/tests/projects/c++/modules/namespace/src/mod_impl.cpp b/tests/projects/c++/modules/namespace/src/mod_impl.cpp new file mode 100644 index 000000000..1adf6570e --- /dev/null +++ b/tests/projects/c++/modules/namespace/src/mod_impl.cpp @@ -0,0 +1,8 @@ +module mod; +import hello; + +namespace mod { + int foo() { + return hello::data__; + } +} -- cgit v1.3.1