diff options
Diffstat (limited to 'tests/projects/c++/modules/class')
| -rw-r--r-- | tests/projects/c++/modules/class/src/hello_impl.cpp | 5 | ||||
| -rw-r--r-- | tests/projects/c++/modules/class/xmake.lua | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tests/projects/c++/modules/class/src/hello_impl.cpp b/tests/projects/c++/modules/class/src/hello_impl.cpp index b929c453b..6d0008fbb 100644 --- a/tests/projects/c++/modules/class/src/hello_impl.cpp +++ b/tests/projects/c++/modules/class/src/hello_impl.cpp @@ -1,8 +1,7 @@ -// module; -#include <iostream> module hello; -// import std.core; +#include <iostream> + using namespace std; namespace hello { diff --git a/tests/projects/c++/modules/class/xmake.lua b/tests/projects/c++/modules/class/xmake.lua index a3bc3a394..6d6eaddee 100644 --- a/tests/projects/c++/modules/class/xmake.lua +++ b/tests/projects/c++/modules/class/xmake.lua @@ -1,5 +1,4 @@ +set_languages("c++20") target("class") set_kind("binary") add_files("src/*.cpp", "src/*.mpp") - - |
