summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/user_headerunit/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/c++/modules/user_headerunit/src/main.cpp')
-rw-r--r--tests/projects/c++/modules/user_headerunit/src/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/user_headerunit/src/main.cpp b/tests/projects/c++/modules/user_headerunit/src/main.cpp
new file mode 100644
index 000000000..ad786367e
--- /dev/null
+++ b/tests/projects/c++/modules/user_headerunit/src/main.cpp
@@ -0,0 +1,7 @@
+import hello;
+import "header.hpp";
+
+int main() {
+ hello::say(hello::FOO);
+ return 0;
+}