c++: Add test for C++23 narrowing conv to bool
commit8483dd99268f4d2b68521fcefa78fbdad21f21e8
authorJason Merrill <jason@redhat.com>
Tue, 8 Jun 2021 18:24:16 +0000 (8 14:24 -0400)
committerJason Merrill <jason@redhat.com>
Tue, 8 Jun 2021 19:34:42 +0000 (8 15:34 -0400)
tree9f6576766ffe068df8f7e8fa5426682ed2804814
parentd3b1ef7a83c0c0cd5b20a1dd1714b868f3d2b442
c++: Add test for C++23 narrowing conv to bool

From wg21.link/P1401R5.

gcc/testsuite/ChangeLog:

* g++.dg/cpp23/narrowing-bool1.C: New test.
gcc/testsuite/g++.dg/cpp23/narrowing-bool1.C [new file with mode: 0644]