testsuite: Fix Wimplicit-fallthrough-20.c.
authorMarek Polacek <polacek@redhat.com>
Sat, 7 Nov 2020 18:28:21 +0000 (13:28 -0500)
committerMarek Polacek <polacek@redhat.com>
Sat, 7 Nov 2020 18:28:43 +0000 (13:28 -0500)
commitbd3cefe45019251d1471857197f4cf6a76fd69e9
tree91767fce27c369a54b9286d3e3180356b357624e
parent497c9f8d4dd0252f2e0dd5bf0f1cb29e187525ee
testsuite: Fix Wimplicit-fallthrough-20.c.

The r11-4813 patch removed "ignored" from the dg-warnings in this test,
causing this test to fail when compiled as C++.

gcc/testsuite/ChangeLog:

* c-c++-common/Wimplicit-fallthrough-20.c: Adjust dg-warning.
gcc/testsuite/c-c++-common/Wimplicit-fallthrough-20.c