From dcf5a1dfa3e592563093e862e0bb4ecd2ac3b3ba Mon Sep 17 00:00:00 2001 From: Arthur LAURENT Date: Wed, 3 Aug 2022 02:36:31 +0200 Subject: [C++20 Modules] Add tests for headerunits --- tests/projects/c++/modules/user_headerunit/src/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/projects/c++/modules/user_headerunit/src/main.cpp (limited to 'tests/projects/c++/modules/user_headerunit/src/main.cpp') 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; +} -- cgit v1.3.1