summaryrefslogtreecommitdiffstats
path: root/libcxx/test/support/charconv_test_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/support/charconv_test_helpers.h')
-rw-r--r--libcxx/test/support/charconv_test_helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/charconv_test_helpers.h b/libcxx/test/support/charconv_test_helpers.h
index df1b00a67b4..1560fa79aad 100644
--- a/libcxx/test/support/charconv_test_helpers.h
+++ b/libcxx/test/support/charconv_test_helpers.h
@@ -178,7 +178,7 @@ struct roundtrip_test_base
{
assert(x == 0xc);
assert(r2.ptr == buf);
- assert(r.ec == std::errc::invalid_argument);
+ assert(r2.ec == std::errc::invalid_argument);
}
else
{
OpenPOWER on IntegriCloud