]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite: Update testcase for PR96078 fix [PR99363]
authorJason Merrill <jason@redhat.com>
Fri, 5 Mar 2021 22:07:25 +0000 (17:07 -0500)
committerEric Botcazou <ebotcazou@adacore.com>
Thu, 18 Mar 2021 11:14:16 +0000 (12:14 +0100)
commita98cb0f1065de3227a91b6597d62d157f8640323
tree7b9d4b96020b644ae47e820df6bd8fbc7ca5cbeb
parentfed70c0b345b38156b0e354345cc727389945aca
testsuite: Update testcase for PR96078 fix [PR99363]

My fix for PR96078 made us stop warning about flatten on an alias if the
target has the alias, which is exactly the case tested here.  So let's
remove the expected warning and add a similar case which does warn.

gcc/testsuite/ChangeLog:

PR c/99363
* gcc.dg/attr-flatten-1.c: Adjust.
gcc/testsuite/gcc.dg/attr-flatten-1.c