c++: add fixed test [PR94231]
commit1befe47f64bf0b964be90730e2cbef550cb6d2b7
authorMarek Polacek <polacek@redhat.com>
Tue, 6 Feb 2024 16:44:44 +0000 (6 11:44 -0500)
committerMarek Polacek <polacek@redhat.com>
Tue, 6 Feb 2024 16:48:05 +0000 (6 11:48 -0500)
treef1679da503e56ba77e3fd19f23a6f02b53402461
parent8ec2f1922a14ee3636840d1ebc1c40d26e6043a4
c++: add fixed test [PR94231]

I was suprised to find out that r14-8759 fixed this accepts-invalid.

clang version 17.0.6 rejects the test as well; clang version 19.0.0git
crashes for which I opened
<https://github.com/llvm/llvm-project/issues/80869>.

PR c++/94231

gcc/testsuite/ChangeLog:

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