-// Copyright (C) 2017-2019 Free Software Foundation, Inc.
+// Copyright (C) 2017-2021 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
char32_t c32;
std::from_chars(first, last, c32); // { dg-error "no matching" }
std::from_chars(first, last, c32, 10); // { dg-error "no matching" }
+ enum E { } e;
+ std::from_chars(first, last, e); // { dg-error "no matching" }
+ std::from_chars(first, last, e, 10); // { dg-error "no matching" }
}
// { dg-prune-output "enable_if" }
+// { dg-prune-output "cannot bind non-const lvalue reference" }