mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +00:00
20 lines
400 B
C++
20 lines
400 B
C++
// Copyright 2022 Peter Dimov
|
|
// Distributed under the Boost Software License, Version 1.0.
|
|
// https://www.boost.org/LICENSE_1_0.txt
|
|
|
|
#include <boost/core/detail/string_view.hpp>
|
|
#include <boost/config.hpp>
|
|
|
|
#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
|