// Copyright 2022 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #if defined(BOOST_NO_CXX11_NULLPTR) #error BOOST_NO_CXX11_NULLPTR is defined, test will be skipped. #else int main() { return boost::core::string_view( nullptr ).size() == 0; } #endif