diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc index 637246b3c12..fd50e8b028a 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc @@ -151,6 +151,17 @@ main() std::unique_ptr& rempty_ptr = empty_ptr; // { dg-final { note-test rempty_ptr {std::unique_ptr = {get() = {}}} } } + struct Deleter_pr103086 + { + int deleter_member = -1; + void operator()(int*) const noexcept { } + }; + + std::unique_ptr uniq_ptr; +// { dg-final { note-test uniq_ptr {std::unique_ptr = {get() = 0x0}} } } + std::unique_ptr& runiq_ptr = uniq_ptr; +// { dg-final { note-test runiq_ptr {std::unique_ptr = {get() = 0x0}} } } + ExTuple tpl(6,7); // { dg-final { note-test tpl {std::tuple containing = {[1] = 6, [2] = 7}} } } ExTuple &rtpl = tpl;