re PR c++/84488 (Incorrect "set but not used" warning for static_cast<Enum>(double))
authorJakub Jelinek <jakub@redhat.com>
Tue, 20 Feb 2018 17:00:23 +0000 (18:00 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 20 Feb 2018 17:00:23 +0000 (18:00 +0100)
commitf210b3b3723c32bfdaafa149ca5697e83e0a9479
tree31e7fc58d5be41bfaf0afd76c089899250794ebe
parentecb0dd18902d0a2186d60f46dfde16992a44adeb
re PR c++/84488 (Incorrect "set but not used" warning for static_cast<Enum>(double))

PR c++/84488
* g++.dg/warn/Wunused-var-30.C: New test.

From-SVN: r257850
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wunused-var-30.C [new file with mode: 0644]