gcc/libstdc++-v3/testsuite/20_util/scoped_allocator
Jonathan Wakely d7c1581c04 Use static assertion for uses-allocator construction
PR libstdc++/69293
	* include/bits/uses_allocator.h (__uses_alloc<true, ...>): Add
	static assertion that type is constructible from the arguments.
	* testsuite/20_util/scoped_allocator/69293_neg.cc: New.
	* testsuite/20_util/uses_allocator/69293_neg.cc: New.
	* testsuite/20_util/uses_allocator/cons_neg.cc: Adjust dg-error.

From-SVN: r232457
2016-01-15 23:12:13 +00:00
..
requirements Update copyright years. 2016-01-04 15:30:50 +01:00
1.cc Update copyright years. 2016-01-04 15:30:50 +01:00
2.cc Update copyright years. 2016-01-04 15:30:50 +01:00
65279.cc Update copyright years. 2016-01-04 15:30:50 +01:00
69114.cc Use std::addressof in insert iterators, allocators and promises 2016-01-07 15:01:33 +00:00
69293_neg.cc Use static assertion for uses-allocator construction 2016-01-15 23:12:13 +00:00
propagation.cc Update copyright years. 2016-01-04 15:30:50 +01:00