Move negative unique_ptr tests to new file
authorJonathan Wakely <jwakely@redhat.com>
Wed, 19 Oct 2016 10:10:54 +0000 (11:10 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 19 Oct 2016 10:10:54 +0000 (11:10 +0100)
commitd40627f9335050467ae3fdb8bcf31ed695b290ea
tree13791c9eada7c818ac1ab1a2bb80f678cf145447
parent84870b6bb2691cc4031b8408b41bbb6583526c0f
Move negative unique_ptr tests to new file

* testsuite/20_util/unique_ptr/cons/cv_qual.cc: Move negative tests
to new file.
* testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc: New file.  Fix
test for incompatible deleters to not also use incompatible types.
Add tests for incompatible array types.

From-SVN: r241332
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual.cc
libstdc++-v3/testsuite/20_util/unique_ptr/cons/cv_qual_neg.cc [new file with mode: 0644]