c-family: Add -Wmisleading-indentation testcase [PR71637]
commit89976d082488b3a7dc7520b980f854ce83043d38
authorPatrick Palka <ppalka@redhat.com>
Tue, 29 Mar 2022 17:44:05 +0000 (29 13:44 -0400)
committerPatrick Palka <ppalka@redhat.com>
Tue, 29 Mar 2022 17:44:05 +0000 (29 13:44 -0400)
treef04465bdac6a44a58cf4eb2ed74523cada15f905
parent9f9ccc4a5788fc6afbb4fb2d56ad20dde28f0de5
c-family: Add -Wmisleading-indentation testcase [PR71637]

We no longer emit a bogus warning for the below testcase after
r11-3266-g4839de55e2c986.

PR c++/71637

gcc/testsuite/ChangeLog:

* c-c++-common/Wmisleading-indentation-6.c: New test.
gcc/testsuite/c-c++-common/Wmisleading-indentation-6.c [new file with mode: 0644]