c++: Add testcase for already fixed PR [PR85493]
authorPatrick Palka <ppalka@redhat.com>
Mon, 21 Feb 2022 14:20:23 +0000 (09:20 -0500)
committerPatrick Palka <ppalka@redhat.com>
Mon, 21 Feb 2022 14:20:23 +0000 (09:20 -0500)
commite74d764e172fa6afdbd194ce57decc80237631dc
tree2e844e4014cd536efd9bf88844d65efbeb0cdcff
parentd34cdec56728ddbdfacabd9f80598b17d1c6ff54
c++: Add testcase for already fixed PR [PR85493]

The a1 and a2 case were fixed (by diagnosing the invalid expression)
with r11-434, and the a3 case with r8-7625.

PR c++/85493

gcc/testsuite/ChangeLog:

* g++.dg/cpp0x/decltype80.C: New test.
gcc/testsuite/g++.dg/cpp0x/decltype80.C [new file with mode: 0644]