c++: Add testcase for [PR81339]
authorPatrick Palka <ppalka@redhat.com>
Fri, 24 Jul 2020 18:31:36 +0000 (14:31 -0400)
committerPatrick Palka <ppalka@redhat.com>
Fri, 24 Jul 2020 18:39:10 +0000 (14:39 -0400)
commit048ba9c02db7ee461abe86a37544fcd4e0cf8858
tree66e3a7f128daa01752baae6c094a7e5d9f7eb0ca
parent29a14a1a907947fe9e43bce62d3468559f17da97
c++: Add testcase for [PR81339]

We correctly reject this testcase since r11-434, i.e. since the fix for
PR c++/57943.

gcc/testsuite/ChangeLog:

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