aboutsummaryrefslogtreecommitdiff
path: root/tests/command
diff options
context:
space:
mode:
Diffstat (limited to 'tests/command')
-rw-r--r--tests/command/buildfile1
-rw-r--r--tests/command/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/command/buildfile b/tests/command/buildfile
index cb0f272..27e74e8 100644
--- a/tests/command/buildfile
+++ b/tests/command/buildfile
@@ -3,6 +3,5 @@
# license : MIT; see accompanying LICENSE file
import libs = libbutl%lib{butl}
-libs += $stdmod_lib
exe{driver}: {hxx cxx}{*} $libs testscript
diff --git a/tests/command/driver.cxx b/tests/command/driver.cxx
index a1baf68..39d38aa 100644
--- a/tests/command/driver.cxx
+++ b/tests/command/driver.cxx
@@ -4,7 +4,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <ios>
#include <string>
#include <vector>
@@ -14,8 +14,8 @@
// Other includes.
-#ifdef __cpp_modules
-#ifdef __cpp_lib_modules
+#ifdef __cpp_modules_ts
+#ifdef __cpp_lib_modules_ts
import std.core;
import std.io;
#endif