Adjust pretty printer test for variant<T&>
* testsuite/libstdc++-prettyprinters/cxx17.cc: Adjust test for variant<T&>. From-SVN: r242449
This commit is contained in:
parent
48aef8e219
commit
6f959acccb
@ -1,7 +1,12 @@
|
||||
2016-11-15 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* testsuite/libstdc++-prettyprinters/cxx17.cc: Adjust test for
|
||||
variant<T&>.
|
||||
|
||||
2016-11-15 Tim Shen <timshen@google.com>
|
||||
|
||||
* include/std/variant: Remove variant<T&>, variant<void>, variant<> support
|
||||
to rebase on the post-Issaquah design.
|
||||
* include/std/variant: Remove variant<T&>, variant<void>, variant<>
|
||||
support to rebase on the post-Issaquah design.
|
||||
* testsuite/20_util/variant/compile.cc: Likewise.
|
||||
|
||||
2016-11-15 Matthias Klose <doko@ubuntu.com>
|
||||
|
@ -86,8 +86,8 @@ main()
|
||||
// { dg-final { note-test v3 {std::variant<float, int, std::string_view> [index 1] = {3}} } }
|
||||
variant<float, int, string_view> v4{ str };
|
||||
// { dg-final { note-test v4 {std::variant<float, int, std::string_view> [index 2] = {"string"}} } }
|
||||
variant<string_view&> vref{str};
|
||||
// { dg-final { note-test vref {std::variant<std::basic_string_view<char, std::char_traits<char> > &> [index 0] = {"string"}} } }
|
||||
variant<string_view> vref{str};
|
||||
// { dg-final { note-test vref {std::variant<std::string_view> [index 0] = {"string"}} } }
|
||||
|
||||
map<int, string_view> m{ {1, "one"} };
|
||||
map<int, string_view>::node_type n0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user