c++: Add fixed test [PR78244]
authorMarek Polacek <polacek@redhat.com>
Fri, 29 Apr 2022 13:38:40 +0000 (09:38 -0400)
committerMarek Polacek <polacek@redhat.com>
Fri, 29 Apr 2022 13:38:55 +0000 (09:38 -0400)
commit19c62569ccf20d2744b63482a470474391d28c02
treef5653f7bb6dfe8365b6cc94c3efd3ee22b12677a
parente1115a4f1b4afb346341237355186949f8e568a8
c++: Add fixed test [PR78244]

This was finally fixed for GCC 11 by r11-434.

PR c++/78244

gcc/testsuite/ChangeLog:

* g++.dg/cpp0x/Wnarrowing20.C: New test.
gcc/testsuite/g++.dg/cpp0x/Wnarrowing20.C [new file with mode: 0644]