diff options
Diffstat (limited to 'tests/semantic-version')
-rw-r--r-- | tests/semantic-version/buildfile | 1 | ||||
-rw-r--r-- | tests/semantic-version/driver.cxx | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/semantic-version/buildfile b/tests/semantic-version/buildfile index cf0beca..250abd7 100644 --- a/tests/semantic-version/buildfile +++ b/tests/semantic-version/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/semantic-version/driver.cxx b/tests/semantic-version/driver.cxx index fa67d2b..9ffe671 100644 --- a/tests/semantic-version/driver.cxx +++ b/tests/semantic-version/driver.cxx @@ -4,14 +4,14 @@ #include <cassert> -#ifndef __cpp_lib_modules +#ifndef __cpp_lib_modules_ts #include <iostream> #endif // 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 |