From c1b1b841353e32d2df356b8765d1189bef3d2f11 Mon Sep 17 00:00:00 2001 From: Ângelo Andrade Cirino Date: Thu, 15 Jul 2021 10:49:02 -0300 Subject: Additional changes to modules support and corrected the tests --- tests/projects/c++/modules/impl_unit/src/hello_impl.cpp | 4 ++-- tests/projects/c++/modules/impl_unit/xmake.lua | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/projects/c++/modules/impl_unit') diff --git a/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp b/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp index 1c9968a51..9cee17cfd 100644 --- a/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp +++ b/tests/projects/c++/modules/impl_unit/src/hello_impl.cpp @@ -1,7 +1,7 @@ -// module; -#include module hello; +#include + using namespace std; namespace hello { diff --git a/tests/projects/c++/modules/impl_unit/xmake.lua b/tests/projects/c++/modules/impl_unit/xmake.lua index 3d19e0908..abe41d20a 100644 --- a/tests/projects/c++/modules/impl_unit/xmake.lua +++ b/tests/projects/c++/modules/impl_unit/xmake.lua @@ -1,5 +1,4 @@ +set_languages("c++20") target("impl_unit") set_kind("binary") add_files("src/*.cpp", "src/*.mpp") - - -- cgit v1.3.1