summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/class/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/class/src/main.cpp')
-rw-r--r--tests/projects/c++/modules/class/src/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/class/src/main.cpp b/tests/projects/c++/modules/class/src/main.cpp
new file mode 100644
index 000000000..6f80b6c7d
--- /dev/null
+++ b/tests/projects/c++/modules/class/src/main.cpp
@@ -0,0 +1,7 @@
+import hello;
+
+int main() {
+ hello::say s(sizeof(hello::say));
+ s.hello();
+ return 0;
+} \ No newline at end of file