c++: Add testcase for PR84494
authorPatrick Palka <ppalka@redhat.com>
Mon, 1 Feb 2021 13:48:46 +0000 (08:48 -0500)
committerPatrick Palka <ppalka@redhat.com>
Mon, 1 Feb 2021 13:48:46 +0000 (08:48 -0500)
commit1b303ef6cc8a5913345cbcd91abf13075ab2aec9
treec8b08e9cc1f637f5652347672d7d4e1df90541f4
parentbbe6998b227013899b001d336a0ba4de94d8d239
c++: Add testcase for PR84494

We correctly accept this testcase ever since r10-5143.

gcc/testsuite/ChangeLog:

PR c++/84494
* g++.dg/cpp1y/constexpr-84494.C: New test.
gcc/testsuite/g++.dg/cpp1y/constexpr-84494.C [new file with mode: 0644]