c++: improve template/crash90.C
authorJason Merrill <jason@redhat.com>
Mon, 18 Oct 2021 14:15:42 +0000 (10:15 -0400)
committerJason Merrill <jason@redhat.com>
Mon, 18 Oct 2021 14:21:16 +0000 (10:21 -0400)
commit582d43a48cb28e6ed36ea6388ca92f3d5d786a26
tree51bf2c075bed09c6634249fcefcd52e1ec060451
parent1257aad1073e1fb8989acdf7ca832fba82d10534
c++: improve template/crash90.C

In r208350 I improved the diagnostic location of the initializer-list
pedwarn in C++98 mode on crash90.C, but didn't adjust the testcase to verify
the location, so reverting that change didn't break regression testing.

gcc/testsuite/ChangeLog:

* g++.dg/template/crash90.C: Check location of pedwarn.
gcc/testsuite/g++.dg/template/crash90.C