aboutsummaryrefslogtreecommitdiff
path: root/tests/cpfile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpfile')
-rw-r--r--tests/cpfile/buildfile1
-rw-r--r--tests/cpfile/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/cpfile/buildfile b/tests/cpfile/buildfile
index 3b42372..d7ac6a7 100644
--- a/tests/cpfile/buildfile
+++ b/tests/cpfile/buildfile
@@ -3,6 +3,5 @@
# license : MIT; see accompanying LICENSE file
import libs = libbutl%lib{butl}
-libs += $stdmod_lib
exe{driver}: {hxx cxx}{*} $libs
diff --git a/tests/cpfile/driver.cxx b/tests/cpfile/driver.cxx
index 3f97db7..5576a4f 100644
--- a/tests/cpfile/driver.cxx
+++ b/tests/cpfile/driver.cxx
@@ -4,7 +4,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <ios>
#include <string>
#include <system_error>
@@ -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;
#endif