aboutsummaryrefslogtreecommitdiff
path: root/tests/regex
diff options
context:
space:
mode:
Diffstat (limited to 'tests/regex')
-rw-r--r--tests/regex/buildfile1
-rw-r--r--tests/regex/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/regex/buildfile b/tests/regex/buildfile
index 3ac2e44..91eb225 100644
--- a/tests/regex/buildfile
+++ b/tests/regex/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/regex/driver.cxx b/tests/regex/driver.cxx
index 7815a9b..4fee290 100644
--- a/tests/regex/driver.cxx
+++ b/tests/regex/driver.cxx
@@ -4,7 +4,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <string>
#include <iostream>
#include <exception>
@@ -12,8 +12,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;
import std.regex; // @@ MOD TODO: shouldn't be necessary (re-export).