diff options
Diffstat (limited to 'libstdc++-v3/testsuite/experimental/filesystem/path')
-rw-r--r-- | libstdc++-v3/testsuite/experimental/filesystem/path/construct/80762.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/80762.cc b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/80762.cc index fa4a64feb3e..98dadabcffb 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/path/construct/80762.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/path/construct/80762.cc @@ -22,8 +22,18 @@ using std::experimental::filesystem::path; +// PR libstdc++/80762.cc static_assert( !std::is_constructible<path, void>::value, "" ); static_assert( !std::is_constructible<path, volatile path>::value, "" ); static_assert( !std::is_constructible<path, volatile path&>::value, "" ); static_assert( !std::is_constructible<path, const volatile path>::value, "" ); static_assert( !std::is_constructible<path, const volatile path&>::value, "" ); + +// PR libstdc++/90454.cc +static_assert( !std::is_constructible<path, void*>::value, "" ); +static_assert( !std::is_constructible<path, const void*>::value, "" ); +static_assert( !std::is_constructible<path, volatile void*>::value, "" ); +static_assert( !std::is_constructible<path, const volatile void*>::value, "" ); +static_assert( !std::is_constructible<path, void*&>::value, "" ); +static_assert( !std::is_constructible<path, void* const&>::value, "" ); +static_assert( !std::is_constructible<path, const void* const&>::value, "" ); |