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/namespace2/src/main.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/projects/c++/modules/namespace2/src/main.cpp (limited to 'tests/projects/c++/modules/namespace2/src/main.cpp') diff --git a/tests/projects/c++/modules/namespace2/src/main.cpp b/tests/projects/c++/modules/namespace2/src/main.cpp new file mode 100644 index 000000000..93cc427a4 --- /dev/null +++ b/tests/projects/c++/modules/namespace2/src/main.cpp @@ -0,0 +1,9 @@ +import hello; + +int main() { + hello::data__ = 123; + hello::say_hello(); + hello::say(sizeof(hello::say)).hello(); + return 0; +} + -- cgit v1.3.1