From 04669106fb41d787e0686023dcce640fbe59865d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 May 2019 16:09:03 +0200 Subject: Partially dismantle modularization using Modules TS semantics --- tests/cpfile/buildfile | 1 - tests/cpfile/driver.cxx | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'tests/cpfile') 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 -#ifndef __cpp_lib_modules +#ifndef __cpp_lib_modules_ts #include #include #include @@ -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 -- cgit v1.1