diff options
Diffstat (limited to 'libstdc++-v3/testsuite/20_util/variant/86874.cc')
-rw-r--r-- | libstdc++-v3/testsuite/20_util/variant/86874.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/20_util/variant/86874.cc b/libstdc++-v3/testsuite/20_util/variant/86874.cc index 101056b..3e396b5 100644 --- a/libstdc++-v3/testsuite/20_util/variant/86874.cc +++ b/libstdc++-v3/testsuite/20_util/variant/86874.cc @@ -39,9 +39,9 @@ test02() void test03() { - std::variant<double, int> v1{1}, v2{2.3}; + std::variant<double, int> v1{1}, v2{0.5}; std::swap(v1, v2); - VERIFY( std::get<double>(v1) == 2.3 ); + VERIFY( std::get<double>(v1) == 0.5 ); VERIFY( std::get<int>(v2) == 1 ); } |