* name-lookup.c (get_std_name_hint): Add std::byte.
From-SVN: r279471
This commit is contained in:
parent
775670d792
commit
490a091fa7
|
@ -1,3 +1,7 @@
|
|||
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>. */
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
std::byte b; // { dg-error "byte" }
|
||||
// { dg-message "cstddef" "" { target c++17 } .-1 }
|
||||
// { dg-message "C..17" "" { target c++14_down } .-2 }
|
Loading…
Reference in New Issue