Commit 490a091f by Jason Merrill Committed by Jason Merrill

* name-lookup.c (get_std_name_hint): Add std::byte.

From-SVN: r279471
parent 775670d7
2019-12-17 Jason Merrill <jason@redhat.com>
* name-lookup.c (get_std_name_hint): Add std::byte.
2019-12-17 Jakub Jelinek <jakub@redhat.com>
PR c++/59655
......
......@@ -5641,6 +5641,8 @@ get_std_name_hint (const char *name)
/* <condition_variable>. */
{"condition_variable", "<condition_variable>", cxx11},
{"condition_variable_any", "<condition_variable>", cxx11},
/* <cstddef>. */
{"byte", "<cstddef>", cxx17},
/* <deque>. */
{"deque", "<deque>", cxx98},
/* <forward_list>. */
......
std::byte b; // { dg-error "byte" }
// { dg-message "cstddef" "" { target c++17 } .-1 }
// { dg-message "C..17" "" { target c++14_down } .-2 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment