gcc/libstdc++-v3/testsuite/experimental/feat-lib-fund.cc
Jonathan Wakely 43e9f72225 Add <experimental/algorithm> and <experimental/functional>.
* doc/xml/manual/status_cxx2014.xml: Update TS status.
	* include/Makefile.am: Add new headers.
	* include/Makefile.in: Regenerate.
	* include/experimental/algorithm: New.
	* include/experimental/functional: New.
	* testsuite/experimental/algorithm/sample.cc: New.
	* testsuite/experimental/algorithm/search.cc: New.
	* testsuite/experimental/functional/not_fn.cc: New.
	* testsuite/experimental/functional/searchers.cc: New.
	* testsuite/experimental/functional/value.cc: New.
	* testsuite/experimental/feat-lib-fund.cc: Add headers and reorder.

From-SVN: r216847
2014-10-29 18:21:59 +00:00

59 lines
1.3 KiB
C++

// { dg-options "-std=gnu++14" }
// { dg-do compile }
#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