From 6f959acccbe249ca2cb24a473a132ab089c0f7eb Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Tue, 15 Nov 2016 19:29:07 +0000 Subject: [PATCH] Adjust pretty printer test for variant * testsuite/libstdc++-prettyprinters/cxx17.cc: Adjust test for variant. From-SVN: r242449 --- libstdc++-v3/ChangeLog | 9 +++++++-- libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index cc72f15c4b8..77669da173f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,7 +1,12 @@ +2016-11-15 Jonathan Wakely + + * testsuite/libstdc++-prettyprinters/cxx17.cc: Adjust test for + variant. + 2016-11-15 Tim Shen - * include/std/variant: Remove variant, variant, variant<> support - to rebase on the post-Issaquah design. + * include/std/variant: Remove variant, variant, variant<> + support to rebase on the post-Issaquah design. * testsuite/20_util/variant/compile.cc: Likewise. 2016-11-15 Matthias Klose diff --git a/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc b/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc index bc9b26a74f9..96be8c79235 100644 --- a/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc +++ b/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc @@ -86,8 +86,8 @@ main() // { dg-final { note-test v3 {std::variant [index 1] = {3}} } } variant v4{ str }; // { dg-final { note-test v4 {std::variant [index 2] = {"string"}} } } - variant vref{str}; -// { dg-final { note-test vref {std::variant > &> [index 0] = {"string"}} } } + variant vref{str}; +// { dg-final { note-test vref {std::variant [index 0] = {"string"}} } } map m{ {1, "one"} }; map::node_type n0; -- 2.30.2