summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/test_partitions.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-05-22 22:05:30 +0800
committerGitHub <[email protected]>2025-05-22 22:05:30 +0800
commit9d6f52f4eda17ce1dfe69b86a6fa990d75a4a653 (patch)
treea925ea8271178b9e93da13e7b01e47884a4a2154 /tests/projects/c++/modules/test_partitions.lua
parentd558ace9f0d9daa3c51d3ac6b56147a67e995149 (diff)
parent481ada9f541be6754801d36bd03c84e7b8665b58 (diff)
Merge pull request #6477 from Arthapz/fix-clang-cl-modules
(C++ modules support) fix clang cl module support
Diffstat (limited to 'tests/projects/c++/modules/test_partitions.lua')
-rw-r--r--tests/projects/c++/modules/test_partitions.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/test_partitions.lua b/tests/projects/c++/modules/test_partitions.lua
new file mode 100644
index 000000000..ed03bd9d7
--- /dev/null
+++ b/tests/projects/c++/modules/test_partitions.lua
@@ -0,0 +1,12 @@
+inherit("test_base")
+
+CLANG_MIN_VER = "18"
+GCC_MIN_VER = "13"
+MSVC_MIN_VER = "14.30"
+
+function main(_)
+ local clang_options = {compiler = "clang", version = CLANG_MIN_VER}
+ local gcc_options = {compiler = "gcc", version = GCC_MIN_VER}
+ local msvc_options = {version = MSVC_MIN_VER}
+ run_tests(clang_options, gcc_options, msvc_options)
+end