aboutsummaryrefslogtreecommitdiff
path: root/tests/project-name
diff options
context:
space:
mode:
Diffstat (limited to 'tests/project-name')
-rw-r--r--tests/project-name/buildfile1
-rw-r--r--tests/project-name/driver.cxx6
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/project-name/buildfile b/tests/project-name/buildfile
index 55e7e70..80c221c 100644
--- a/tests/project-name/buildfile
+++ b/tests/project-name/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/project-name/driver.cxx b/tests/project-name/driver.cxx
index 45cc72f..6c888a8 100644
--- a/tests/project-name/driver.cxx
+++ b/tests/project-name/driver.cxx
@@ -4,7 +4,7 @@
#include <cassert>
-#ifndef __cpp_lib_modules
+#ifndef __cpp_lib_modules_ts
#include <ios> // ios::*bit
#include <string>
#include <iostream>
@@ -13,8 +13,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