summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/namespace/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/namespace/src/main.cpp')
-rw-r--r--tests/projects/c++/modules/namespace/src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/namespace/src/main.cpp b/tests/projects/c++/modules/namespace/src/main.cpp
new file mode 100644
index 000000000..93cc427a4
--- /dev/null
+++ b/tests/projects/c++/modules/namespace/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;
+}
+