mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-22 02:25:24 +08:00
457c4a3fd2
* testsuite/experimental/feat-cxx14.cc: Only preprocess, not compile. * testsuite/experimental/feat-lib-fund.cc: Likewise. From-SVN: r239692
58 lines
1.2 KiB
C++
58 lines
1.2 KiB
C++
// { dg-do preprocess { target c++14 } }
|
|
|
|
#if !__has_include(<experimental/tuple>)
|
|
# error "<experimental/tuple>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/type_traits>)
|
|
# error "<experimental/type_traits>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/ratio>)
|
|
# error "<experimental/ratio>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/chrono>)
|
|
# error "<experimental/chrono>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/system_error>)
|
|
# error "<experimental/system_error>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/functional>)
|
|
# error "<experimental/functional>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/optional>)
|
|
# error "<experimental/optional>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/any>)
|
|
# error "<experimental/any>"
|
|
#endif
|
|
|
|
#if !__has_include(<experimental/string_view>)
|
|
# error "<experimental/string_view>"
|
|
#endif
|
|
|
|
//#if !__has_include(<experimental/memory>)
|
|
//# error "<experimental/memory>"
|
|
//#endif
|
|
|
|
//#if !__has_include(<experimental/memory_resource>)
|
|
//# error "<experimental/memory_resource>"
|
|
//#endif
|
|
|
|
//#if !__has_include(<experimental/future>)
|
|
//# error "<experimental/future>"
|
|
//#endif
|
|
|
|
#if !__has_include(<experimental/algorithm>)
|
|
# error "<experimental/algorithm>"
|
|
#endif
|
|
|
|
//#if !__has_include(<experimental/net>)
|
|
//# error "<experimental/net>"
|
|
//#endif
|