diff options
Diffstat (limited to 'tests/string-parser')
-rw-r--r-- | tests/string-parser/buildfile | 1 | ||||
-rw-r--r-- | tests/string-parser/driver.cxx | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/string-parser/buildfile b/tests/string-parser/buildfile index cbea595..98e94da 100644 --- a/tests/string-parser/buildfile +++ b/tests/string-parser/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/string-parser/driver.cxx b/tests/string-parser/driver.cxx index b908b6b..4ffeb6a 100644 --- a/tests/string-parser/driver.cxx +++ b/tests/string-parser/driver.cxx @@ -4,7 +4,7 @@ #include <cassert> -#ifndef __cpp_lib_modules +#ifndef __cpp_lib_modules_ts #include <string> #include <vector> #include <iostream> @@ -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 |